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

Commit

Permalink
cypress - maybe improve "should close spotlight after starting a DM" …
Browse files Browse the repository at this point in the history
…stability (#9363)

* explicity join bot to room instead of inviting

* remove pause
  • Loading branch information
Kerry authored Oct 6, 2022
1 parent 5e18abe commit 0ec8d0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/spotlight/spotlight.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down

0 comments on commit 0ec8d0f

Please sign in to comment.