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

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