diff --git a/cypress/e2e/read-receipts/read-receipts-utils.ts b/cypress/e2e/read-receipts/read-receipts-utils.ts index e3dc01cbd9..0e6b7d5e82 100644 --- a/cypress/e2e/read-receipts/read-receipts-utils.ts +++ b/cypress/e2e/read-receipts/read-receipts-utils.ts @@ -66,12 +66,12 @@ export class ReadReceiptSetup { cy.inviteUser(this.alphaRoomId, this.bot.getUserId()); cy.viewRoomById(this.alphaRoomId); cy.get(".mx_LegacyRoomHeader").within(() => cy.findByTitle(roomAlpha).should("exist")); - cy.findByText(botName + " joined the room").should("exist"); + cy.findByText(botName + " joined the room", { timeout: 20000 }).should("exist"); cy.inviteUser(this.betaRoomId, this.bot.getUserId()); cy.viewRoomById(this.betaRoomId); cy.get(".mx_LegacyRoomHeader").within(() => cy.findByTitle(roomBeta).should("exist")); - cy.findByText(botName + " joined the room").should("exist"); + cy.findByText(botName + " joined the room", { timeout: 20000 }).should("exist"); }); } }