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

Commit

Permalink
Take a Percy snapshot of SpaceSetupPrivateInvite (#11010)
Browse files Browse the repository at this point in the history
  • Loading branch information
luixxiul authored Jun 5, 2023
1 parent c78c7af commit 21b9daf
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions cypress/e2e/spaces/spaces.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,9 @@ describe("Spaces", () => {
cy.findByPlaceholderText("Support").type("Projects");
cy.findByRole("button", { name: "Continue" }).click();

cy.get(".mx_SpaceRoomView h1").findByText("Invite your teammates");
cy.get(".mx_SpaceRoomView").percySnapshotElement("Space - 'Invite your teammates' dialog");

cy.get(".mx_SpaceRoomView").within(() => {
cy.get("h1").findByText("Invite your teammates");
cy.findByRole("button", { name: "Skip for now" }).click();
});
cy.findByRole("button", { name: "Skip for now" }).click();

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

0 comments on commit 21b9daf

Please sign in to comment.