chore(governance): fix failing proposal test (#4434)
This commit is contained in:
parent
8845222700
commit
f476688c7f
@ -120,16 +120,24 @@ describe('Governance flow for proposal list', { tags: '@slow' }, function () {
|
|||||||
submitUniqueRawProposal({ proposalTitle: proposalTitle });
|
submitUniqueRawProposal({ proposalTitle: proposalTitle });
|
||||||
getProposalFromTitle(proposalTitle).within(() => {
|
getProposalFromTitle(proposalTitle).within(() => {
|
||||||
// 3001-VOTE-039
|
// 3001-VOTE-039
|
||||||
cy.getByTestId(voteStatus).should(
|
cy.getByTestId('participation-not-reached').should(
|
||||||
'have.text',
|
'have.text',
|
||||||
'Participation not reached'
|
'Min. participation not reached'
|
||||||
);
|
);
|
||||||
cy.getByTestId(viewProposalButton).click();
|
cy.getByTestId(viewProposalButton).click();
|
||||||
});
|
});
|
||||||
voteForProposal('for');
|
voteForProposal('for');
|
||||||
navigateTo(navigation.proposals);
|
navigateTo(navigation.proposals);
|
||||||
getProposalFromTitle(proposalTitle).within(() => {
|
getProposalFromTitle(proposalTitle).within(() => {
|
||||||
cy.getByTestId(voteStatus).should('have.text', 'Set to pass');
|
cy.getByTestId(voteStatus).should(
|
||||||
|
'have.text',
|
||||||
|
'Currently expected to pass'
|
||||||
|
);
|
||||||
|
cy.getByTestId('user-voted-yes').should('exist');
|
||||||
|
cy.getByTestId('participation-reached').should(
|
||||||
|
'have.text',
|
||||||
|
'Min. participation reached'
|
||||||
|
);
|
||||||
cy.getByTestId(viewProposalButton).click();
|
cy.getByTestId(viewProposalButton).click();
|
||||||
});
|
});
|
||||||
cy.getByTestId(voteBreakDownToggle).click();
|
cy.getByTestId(voteBreakDownToggle).click();
|
||||||
|
@ -351,6 +351,12 @@ context(
|
|||||||
);
|
);
|
||||||
stakingPageDisassociateAllTokens();
|
stakingPageDisassociateAllTokens();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('Able to associate over 1 million tokens', function () {
|
||||||
|
cy.get(ethWalletAssociateButton).click();
|
||||||
|
stakingPageAssociateTokens('2000000', { approve: true });
|
||||||
|
stakingPageDisassociateAllTokens();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user