fix test maybe

Signed-off-by: Aaron Raimist <aaron@raim.ist>
pull/21833/head
Aaron Raimist 2021-06-11 23:58:16 -05:00
parent 5ae1b1444f
commit b8458c0ae3
No known key found for this signature in database
GPG Key ID: 37419210002890EF
1 changed files with 0 additions and 2 deletions

View File

@ -140,8 +140,6 @@ async function changeRoomSettings(session, settings) {
if (settings.alias) { if (settings.alias) {
session.log.step(`sets alias to ${settings.alias}`); session.log.step(`sets alias to ${settings.alias}`);
const summary = await session.query(".mx_RoomSettingsDialog .mx_AliasSettings summary");
await summary.click();
const aliasField = await session.query(".mx_RoomSettingsDialog .mx_AliasSettings details input[type=text]"); const aliasField = await session.query(".mx_RoomSettingsDialog .mx_AliasSettings details input[type=text]");
await session.replaceInputText(aliasField, settings.alias.substring(1, settings.alias.lastIndexOf(":"))); await session.replaceInputText(aliasField, settings.alias.substring(1, settings.alias.lastIndexOf(":")));
const addButton = await session.query(".mx_RoomSettingsDialog .mx_AliasSettings details .mx_AccessibleButton"); const addButton = await session.query(".mx_RoomSettingsDialog .mx_AliasSettings details .mx_AccessibleButton");