From 5a1a91f16acfb4a314ca1b2564031a09b95f961f Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Thu, 23 Mar 2023 11:14:35 +0000 Subject: [PATCH] Hide seek bar of audio player to fix a flaky Percy test temporarily (#10430) Signed-off-by: Suguru Hirahara --- cypress/e2e/right-panel/file-panel.spec.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/right-panel/file-panel.spec.ts b/cypress/e2e/right-panel/file-panel.spec.ts index cb2bad4ee8..1330944f5c 100644 --- a/cypress/e2e/right-panel/file-panel.spec.ts +++ b/cypress/e2e/right-panel/file-panel.spec.ts @@ -134,7 +134,10 @@ describe("FilePanel", () => { }); // Exclude timestamps and read markers from snapshot - const percyCSS = ".mx_MessageTimestamp, .mx_RoomView_myReadMarker { visibility: hidden !important; }"; + // FIXME: hide mx_SeekBar because flaky - see https://github.com/vector-im/element-web/issues/24897 + // Remove this once https://github.com/vector-im/element-web/issues/24898 is fixed. + const percyCSS = + ".mx_MessageTimestamp, .mx_RoomView_myReadMarker, .mx_SeekBar { visibility: hidden !important; }"; cy.get(".mx_RoomView_MessageList").percySnapshotElement("File tiles on FilePanel", { percyCSS }); }); });