Fix tests

This commit is contained in:
Jorik Schellekens 2020-07-28 14:59:03 +01:00
parent 4ab3ea395a
commit 749aaf0b54

View file

@ -162,7 +162,7 @@ async function changeRoomSettings(session, settings) {
if (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);
const inviteOnly = radios[0];
const publicNoGuests = radios[1];