Add feature flag 'feature_new_room_decoration_ui' and segrate legacy UI component (#11345)
* Move RoomHeader to LegacyRoomHeader * Create new RoomHeader component
This commit is contained in:
parent
89a92c6351
commit
6ae7c033d5
30 changed files with 2309 additions and 2103 deletions
|
@ -114,7 +114,7 @@ Cypress.Commands.add(
|
|||
Cypress.Commands.add(
|
||||
"roomHeaderName",
|
||||
(options?: Partial<Loggable & Timeoutable & Withinable & Shadow>): Chainable<JQuery<HTMLElement>> => {
|
||||
return cy.get(".mx_RoomHeader_nametext", options);
|
||||
return cy.get(".mx_LegacyRoomHeader_nametext", options);
|
||||
},
|
||||
);
|
||||
|
||||
|
@ -204,7 +204,7 @@ describe("Spotlight", () => {
|
|||
});
|
||||
});
|
||||
// wait for the room to have the right name
|
||||
cy.get(".mx_RoomHeader").within(() => {
|
||||
cy.get(".mx_LegacyRoomHeader").within(() => {
|
||||
cy.findByText(room1Name);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue