Fix tests

pull/21833/head
Jorik Schellekens 2020-07-28 14:59:03 +01:00
parent 4ab3ea395a
commit 749aaf0b54
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ async function changeRoomSettings(session, settings) {
if (settings.visibility) { if (settings.visibility) {
session.log.step(`sets visibility to ${settings.visibility}`); session.log.step(`sets visibility to ${settings.visibility}`);
const radios = await session.queryAll(".mx_RoomSettingsDialog input[type=radio]"); const radios = await session.queryAll(".mx_RoomSettingsDialog label");
assert.equal(radios.length, 7); assert.equal(radios.length, 7);
const inviteOnly = radios[0]; const inviteOnly = radios[0];
const publicNoGuests = radios[1]; const publicNoGuests = radios[1];