mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
fix e2e tests. Change the default Room Tab to RoomSummary
This commit is contained in:
parent
37c0d524bc
commit
bb98587143
@ -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,
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user