Fix e2e tests
This commit is contained in:
parent
517b594edc
commit
644ff56ace
1 changed files with 3 additions and 1 deletions
|
@ -45,7 +45,9 @@ async function findTabs(session) {
|
||||||
/// XXX delay is needed here, possibly because the header is being rerendered
|
/// XXX delay is needed here, possibly because the header is being rerendered
|
||||||
/// click doesn't do anything otherwise
|
/// click doesn't do anything otherwise
|
||||||
await session.delay(1000);
|
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();
|
await settingsButton.click();
|
||||||
|
|
||||||
//find tabs
|
//find tabs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue