chore(governance): add assertion for vote change (#4571)
This commit is contained in:
parent
ef26d03d36
commit
afbf62be84
@ -220,6 +220,7 @@ describe(
|
||||
cy.getByTestId(changeVoteButton).should('be.visible').click();
|
||||
voteForProposal('for');
|
||||
// 3001-VOTE-064
|
||||
cy.getByTestId('user-voted-yes').should('exist');
|
||||
getProposalInformationFromTable('Tokens for proposal')
|
||||
.should('have.text', (1).toFixed(2))
|
||||
.and('be.visible');
|
||||
|
@ -182,9 +182,10 @@ export function clickOnValidatorFromList(
|
||||
} else {
|
||||
cy.get(`[row-id="${validatorNumber}"]`)
|
||||
.should('be.visible')
|
||||
.find(stakeValidatorListName)
|
||||
.as('validatorOnList');
|
||||
cy.get('@validatorOnList').click();
|
||||
.first()
|
||||
.within(() => {
|
||||
cy.get(stakeValidatorListName).click();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user