Fix e2e tests

pull/21833/head
Michael Telatynski 2020-09-09 09:38:13 +01:00
parent 517b594edc
commit 644ff56ace
1 changed files with 3 additions and 1 deletions

View File

@ -45,7 +45,9 @@ async function findTabs(session) {
/// XXX delay is needed here, possibly because the header is being rerendered
/// click doesn't do anything otherwise
await session.delay(1000);
const settingsButton = await session.query(".mx_RoomHeader .mx_AccessibleButton[aria-label=Settings]");
const roomSummaryButton = await session.query('.mx_RoomHeader .mx_AccessibleButton[aria-label="Room Info"]');
await roomSummaryButton.click();
const settingsButton = await session.query(".mx_RoomSummaryCard_icon_settings");
await settingsButton.click();
//find tabs