stabilise polls cypress test (#9472)

pull/28788/head^2
Kerry 2022-10-20 15:04:05 +02:00 committed by GitHub
parent b7996a2e49
commit 9ab8e330fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -231,6 +231,9 @@ describe("Polls", () => {
// Bot votes 'Maybe' in the poll
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
getPollTile(pollId).rightclick();