pull/21833/head
Michael Telatynski 2021-09-10 11:01:01 +01:00
parent 456de355f9
commit 554c8ba74e
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ async function changeRoomSettings(session, settings) {
session.log.step(`sets visibility to ${settings.visibility}`);
const radios = await session.queryAll(".mx_RoomSettingsDialog label");
assert.equal(radios.length, 7);
const [inviteOnlyRoom, _, publicRoom] = radios;
const [inviteOnlyRoom,, publicRoom] = radios;
if (settings.visibility === "invite_only") {
await inviteOnlyRoom.click();