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:
Germain 2023-08-01 08:32:53 +01:00 committed by GitHub
parent 89a92c6351
commit 6ae7c033d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 2309 additions and 2103 deletions

View file

@ -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);
});
});