1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-10-28 03:34:56 +03:00

Percy: hide timestamp in permalink rendering screenshot test (#10836)

* hide timestamp

* retrigger sonar

* trigger build
This commit is contained in:
Kerry
2023-05-12 13:45:31 +12:00
committed by GitHub
parent 2cee8a4b01
commit 2767fd623a

View File

@@ -131,6 +131,7 @@ describe("permalinks", () => {
cy.get(".mx_NewRoomIntro").invoke("remove");
cy.get(".mx_GenericEventListSummary").invoke("remove");
cy.get(".mx_RoomView_timeline").percySnapshotElement("Permalink rendering");
const percyCSS = ".mx_MessageTimestamp, .mx_RoomView_myReadMarker { visibility: hidden !important; }";
cy.get(".mx_RoomView_timeline").percySnapshotElement("Permalink rendering", { percyCSS });
});
});