Stabilise Percy snapshot of the user view (#11399)

pull/28788/head^2
Michael Telatynski 2023-08-14 08:40:02 +01:00 committed by GitHub
parent 4a9c4198b0
commit f9e79fd5d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

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; }",