chore(governance): minor fixes to flaky nightly tests (#4335)
This commit is contained in:
parent
c12ac45890
commit
86f0d013bb
@ -144,7 +144,7 @@ context(
|
|||||||
closeStakingDialog();
|
closeStakingDialog();
|
||||||
navigateTo(navigation.validators);
|
navigateTo(navigation.validators);
|
||||||
cy.getByTestId(viewStakedByMeToggle).click();
|
cy.getByTestId(viewStakedByMeToggle).click();
|
||||||
cy.getByTestId(userStakeBtn).should('have.length', 2);
|
cy.getByTestId(userStakeBtn, epochTimeout).should('have.length', 2);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('Able to stake against a validator - using vega from vesting contract', function () {
|
it('Able to stake against a validator - using vega from vesting contract', function () {
|
||||||
|
@ -174,7 +174,8 @@ export function clickOnValidatorFromList(
|
|||||||
cy.get(`[row-id="${validatorNumber}"]`)
|
cy.get(`[row-id="${validatorNumber}"]`)
|
||||||
.should('be.visible')
|
.should('be.visible')
|
||||||
.find(stakeValidatorListName)
|
.find(stakeValidatorListName)
|
||||||
.click();
|
.as('validatorOnList');
|
||||||
|
cy.get('@validatorOnList').click();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user