Update e2e tests
This commit is contained in:
parent
04c923bd75
commit
06284fe73d
3 changed files with 12 additions and 20 deletions
|
@ -25,7 +25,7 @@ module.exports = async function roomDirectoryScenarios(alice, bob) {
|
|||
console.log(" creating a public room and join through directory:");
|
||||
const room = 'test';
|
||||
await createRoom(alice, room);
|
||||
await changeRoomSettings(alice, { directory: true, visibility: "public_no_guests", alias: "#test" });
|
||||
await changeRoomSettings(alice, { directory: true, visibility: "public", alias: "#test" });
|
||||
await join(bob, room); //looks up room in directory
|
||||
const bobMessage = "hi Alice!";
|
||||
await sendMessage(bob, bobMessage);
|
||||
|
|
|
@ -51,7 +51,7 @@ const charlyMsg2 = "how's it going??";
|
|||
|
||||
async function setupRoomWithBobAliceAndCharlies(alice, bob, charlies) {
|
||||
await createRoom(bob, room);
|
||||
await changeRoomSettings(bob, { directory: true, visibility: "public_no_guests", alias });
|
||||
await changeRoomSettings(bob, { directory: true, visibility: "public", alias });
|
||||
// wait for alias to be set by server after clicking "save"
|
||||
// so the charlies can join it.
|
||||
await bob.delay(500);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue