fix e2e tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-07-17 19:41:45 +01:00
parent 7529bb8bc0
commit e75b33c66c
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ 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[title=Settings]");
const settingsButton = await session.query(".mx_RoomHeader .mx_AccessibleButton[aria-label=Settings]");
await settingsButton.click();
//find tabs