stabilise polls cypress test (#9472)
This commit is contained in:
parent
b7996a2e49
commit
9ab8e330fe
1 changed files with 3 additions and 0 deletions
|
@ -231,6 +231,9 @@ describe("Polls", () => {
|
||||||
// Bot votes 'Maybe' in the poll
|
// Bot votes 'Maybe' in the poll
|
||||||
botVoteForOption(bot, roomId, pollId, pollParams.options[2]);
|
botVoteForOption(bot, roomId, pollId, pollParams.options[2]);
|
||||||
|
|
||||||
|
// wait for bot's vote to arrive
|
||||||
|
cy.get('.mx_MPollBody_totalVotes').should('contain', '1 vote cast');
|
||||||
|
|
||||||
// Open context menu
|
// Open context menu
|
||||||
getPollTile(pollId).rightclick();
|
getPollTile(pollId).rightclick();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue