fix e2e tests. Change the default Room Tab to RoomSummary

This commit is contained in:
Michael Telatynski 2020-09-09 11:42:41 +01:00
parent 37c0d524bc
commit bb98587143
2 changed files with 3 additions and 3 deletions

View File

@ -566,7 +566,7 @@ export const SETTINGS: {[setting: string]: ISetting} = {
},
"lastRightPanelPhaseForRoom": {
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS,
default: RightPanelPhases.RoomMemberInfo,
default: RightPanelPhases.RoomSummary,
},
"lastRightPanelPhaseForGroup": {
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS,

View File

@ -47,8 +47,8 @@ async function findTabs(session) {
await session.delay(1000);
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();
const settingsButton = await session.query(".mx_RoomSummaryCard_icon_settings");
await settingsButton.click();
//find tabs
const tabButtons = await session.queryAll(".mx_RoomSettingsDialog .mx_TabbedView_tabLabel");