You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-29 15:23:11 +03:00
Take a Percy snapshot of SpaceSetupPrivateInvite (#11010)
This commit is contained in:
@@ -140,12 +140,9 @@ describe("Spaces", () => {
|
|||||||
cy.findByPlaceholderText("Support").type("Projects");
|
cy.findByPlaceholderText("Support").type("Projects");
|
||||||
cy.findByRole("button", { name: "Continue" }).click();
|
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").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
|
// Assert rooms exist in the room list
|
||||||
cy.findByRole("treeitem", { name: "General" }).should("exist");
|
cy.findByRole("treeitem", { name: "General" }).should("exist");
|
||||||
|
|||||||
Reference in New Issue
Block a user