Stabilise Percy snapshot of the user view (#11399)
This commit is contained in:
parent
4a9c4198b0
commit
f9e79fd5d6
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ describe("UserView", () => {
|
||||||
cy.findByText("Usman").should("exist");
|
cy.findByText("Usman").should("exist");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
cy.findByText("1 session").should("be.visible");
|
||||||
|
|
||||||
cy.get(".mx_RightPanel").percySnapshotElement("User View", {
|
cy.get(".mx_RightPanel").percySnapshotElement("User View", {
|
||||||
// Hide the MXID field as it'll vary on each test
|
// Hide the MXID field as it'll vary on each test
|
||||||
percyCSS: ".mx_UserInfo_profile_mxid { visibility: hidden !important; }",
|
percyCSS: ".mx_UserInfo_profile_mxid { visibility: hidden !important; }",
|
||||||
|
|
Loading…
Reference in a new issue