fix expected number of radios

This commit is contained in:
Michael Telatynski 2021-09-10 09:52:54 +01:00
parent 29b4ba6675
commit 41118b418f

View file

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