Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 21b9daf

Browse files
authored
Take a Percy snapshot of SpaceSetupPrivateInvite (#11010)
1 parent c78c7af commit 21b9daf

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

cypress/e2e/spaces/spaces.spec.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,9 @@ describe("Spaces", () => {
140140
cy.findByPlaceholderText("Support").type("Projects");
141141
cy.findByRole("button", { name: "Continue" }).click();
142142

143+
cy.get(".mx_SpaceRoomView h1").findByText("Invite your teammates");
143144
cy.get(".mx_SpaceRoomView").percySnapshotElement("Space - 'Invite your teammates' dialog");
144-
145-
cy.get(".mx_SpaceRoomView").within(() => {
146-
cy.get("h1").findByText("Invite your teammates");
147-
cy.findByRole("button", { name: "Skip for now" }).click();
148-
});
145+
cy.findByRole("button", { name: "Skip for now" }).click();
149146

150147
// Assert rooms exist in the room list
151148
cy.findByRole("treeitem", { name: "General" }).should("exist");

0 commit comments

Comments
 (0)