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

* hide timestamp

* retrigger sonar

* trigger build
pull/28217/head
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
1 changed files with 2 additions and 1 deletions

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