cypress - maybe improve "should close spotlight after starting a DM" stability (#9363)

* explicity join bot to room instead of inviting

* remove pause
pull/28788/head^2
Kerry 2022-10-06 14:31:04 +02:00 committed by GitHub
parent 5e18abe7f7
commit 0ec8d0ff56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ describe("Spotlight", () => {
cy.window({ log: false }).then(({ matrixcs: { Visibility } }) => {
cy.createRoom({ name: room1Name, visibility: Visibility.Public }).then(_room1Id => {
room1Id = _room1Id;
cy.inviteUser(room1Id, bot1.getUserId());
bot1.joinRoom(room1Id);
cy.visit("/#/room/" + room1Id);
});
bot2.createRoom({ name: room2Name, visibility: Visibility.Public })