fix e2e tests. Change the default Room Tab to RoomSummary
This commit is contained in:
parent
37c0d524bc
commit
bb98587143
2 changed files with 3 additions and 3 deletions
|
@ -566,7 +566,7 @@ export const SETTINGS: {[setting: string]: ISetting} = {
|
||||||
},
|
},
|
||||||
"lastRightPanelPhaseForRoom": {
|
"lastRightPanelPhaseForRoom": {
|
||||||
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS,
|
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS,
|
||||||
default: RightPanelPhases.RoomMemberInfo,
|
default: RightPanelPhases.RoomSummary,
|
||||||
},
|
},
|
||||||
"lastRightPanelPhaseForGroup": {
|
"lastRightPanelPhaseForGroup": {
|
||||||
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS,
|
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS,
|
||||||
|
|
|
@ -47,8 +47,8 @@ async function findTabs(session) {
|
||||||
await session.delay(1000);
|
await session.delay(1000);
|
||||||
const roomSummaryButton = await session.query('.mx_RoomHeader .mx_AccessibleButton[aria-label="Room Info"]');
|
const roomSummaryButton = await session.query('.mx_RoomHeader .mx_AccessibleButton[aria-label="Room Info"]');
|
||||||
await roomSummaryButton.click();
|
await roomSummaryButton.click();
|
||||||
// const settingsButton = await session.query(".mx_RoomSummaryCard_icon_settings");
|
const settingsButton = await session.query(".mx_RoomSummaryCard_icon_settings");
|
||||||
// await settingsButton.click();
|
await settingsButton.click();
|
||||||
|
|
||||||
//find tabs
|
//find tabs
|
||||||
const tabButtons = await session.queryAll(".mx_RoomSettingsDialog .mx_TabbedView_tabLabel");
|
const tabButtons = await session.queryAll(".mx_RoomSettingsDialog .mx_TabbedView_tabLabel");
|
||||||
|
|
Loading…
Reference in a new issue