mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 10:45:51 +03:00
Fix tests
This commit is contained in:
parent
4ab3ea395a
commit
749aaf0b54
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||||
|
|
Loading…
Reference in a new issue