Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Increase the timeout for the bot to enter the room (#11742)
Browse files Browse the repository at this point in the history
in an attempt to fix flakes like:

* element-hq/element-web#26298
* element-hq/element-web#26341

which appear to fail when using Rust crypto, possibly because the client
takes a while to start up.
  • Loading branch information
andybalaam authored Oct 13, 2023
1 parent 3872806 commit 6a99425
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/read-receipts/read-receipts-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});
}
}
Expand Down

0 comments on commit 6a99425

Please sign in to comment.