mirror of https://github.com/vector-im/riot-web
Fix e2e tests
parent
517b594edc
commit
644ff56ace
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue