mirror of https://github.com/vector-im/riot-web
cypress - maybe improve "should close spotlight after starting a DM" stability (#9363)
* explicity join bot to room instead of inviting * remove pausepull/28217/head
parent
5e18abe7f7
commit
0ec8d0ff56
|
@ -162,7 +162,7 @@ describe("Spotlight", () => {
|
||||||
cy.window({ log: false }).then(({ matrixcs: { Visibility } }) => {
|
cy.window({ log: false }).then(({ matrixcs: { Visibility } }) => {
|
||||||
cy.createRoom({ name: room1Name, visibility: Visibility.Public }).then(_room1Id => {
|
cy.createRoom({ name: room1Name, visibility: Visibility.Public }).then(_room1Id => {
|
||||||
room1Id = _room1Id;
|
room1Id = _room1Id;
|
||||||
cy.inviteUser(room1Id, bot1.getUserId());
|
bot1.joinRoom(room1Id);
|
||||||
cy.visit("/#/room/" + room1Id);
|
cy.visit("/#/room/" + room1Id);
|
||||||
});
|
});
|
||||||
bot2.createRoom({ name: room2Name, visibility: Visibility.Public })
|
bot2.createRoom({ name: room2Name, visibility: Visibility.Public })
|
||||||
|
|
Loading…
Reference in New Issue