Stabilise Percy snapshot of the user view (#11399)

This commit is contained in:
Michael Telatynski
2023-08-14 08:40:02 +01:00
committed by GitHub
parent 4a9c4198b0
commit f9e79fd5d6

View File

@@ -44,6 +44,8 @@ describe("UserView", () => {
cy.findByText("Usman").should("exist");
});
cy.findByText("1 session").should("be.visible");
cy.get(".mx_RightPanel").percySnapshotElement("User View", {
// Hide the MXID field as it'll vary on each test
percyCSS: ".mx_UserInfo_profile_mxid { visibility: hidden !important; }",