mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 18:55:58 +03:00
Increase the timeout for the bot to enter the room (#11742)
in an attempt to fix flakes like: * https://github.com/vector-im/element-web/issues/26298 * https://github.com/vector-im/element-web/issues/26341 which appear to fail when using Rust crypto, possibly because the client takes a while to start up.
This commit is contained in:
parent
38728069e2
commit
6a9942576d
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue