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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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