New right panel visual language (#11664)
* New right panel visual language * Upgrade Compound * Align old room header with right panel * Rigth panel look and feel * Fix linting and e2e tests * Update snapshot * Add test * Lint * Remove screenshot local script * Update snapshots and UI based on feedback * fix i18n key * Update right panel visuals * Fix tests * lintfixes * fix tests * fix tests * Add tests for search icon * Fix invite dialog spec
This commit is contained in:
parent
a63b99f687
commit
f784a085fd
31 changed files with 331 additions and 342 deletions
|
@ -53,7 +53,7 @@ describe("Invite dialog", function () {
|
|||
cy.findByRole("button", { name: /People/ }).click();
|
||||
});
|
||||
|
||||
cy.get(".mx_BaseCard_header").within(() => {
|
||||
cy.get(".mx_BaseCard").within(() => {
|
||||
// Click "Invite to this room" button
|
||||
// Regex pattern due to "mx_MemberList_invite span::before"
|
||||
cy.findByRole("button", { name: /Invite to this room/ }).click();
|
||||
|
|
|
@ -30,7 +30,7 @@ const viewRoomSummaryByName = (name: string): Chainable<JQuery<HTMLElement>> =>
|
|||
|
||||
const checkRoomSummaryCard = (name: string): Chainable<JQuery<HTMLElement>> => {
|
||||
cy.get(".mx_RoomSummaryCard").should("have.length", 1);
|
||||
return cy.get(".mx_BaseCard_header").should("contain", name);
|
||||
return cy.get(".mx_RoomSummaryCard").should("contain", name);
|
||||
};
|
||||
|
||||
const uploadFile = (file: string) => {
|
||||
|
|
|
@ -43,7 +43,7 @@ const viewRoomSummaryByName = (name: string): Chainable<JQuery<HTMLElement>> =>
|
|||
|
||||
const checkRoomSummaryCard = (name: string): Chainable<JQuery<HTMLElement>> => {
|
||||
cy.get(".mx_RoomSummaryCard").should("have.length", 1);
|
||||
return cy.get(".mx_BaseCard_header").should("contain", name);
|
||||
return cy.get(".mx_RoomSummaryCard").should("contain", name);
|
||||
};
|
||||
|
||||
describe("RightPanel", () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue