Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix snapshot File Panel - empty (#10855)
Browse files Browse the repository at this point in the history
  • Loading branch information
luixxiul authored May 11, 2023
1 parent 949557b commit eac548c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/right-panel/file-panel.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ describe("FilePanel", () => {
// Wait until the information about the empty state is rendered
cy.get(".mx_FilePanel_empty").should("exist");

// Take a snapshot of empty FilePanel
cy.get(".mx_FilePanel").percySnapshotElement("File Panel - empty", {
// Take a snapshot of RightPanel - fix https://github.com/vector-im/element-web/issues/25332
cy.get(".mx_RightPanel").percySnapshotElement("File Panel - empty", {
widths: [264], // Emulate the UI. The value is based on minWidth specified on MainSplit.tsx
});
});
Expand Down

0 comments on commit eac548c

Please sign in to comment.