From 9e11c3667e027f805fca37b5dffe9d8a52303a14 Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Mon, 26 Feb 2024 12:10:32 +0000 Subject: testing: E2E tests for public and restricted events --- cypress/e2e/group.cy.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'cypress/e2e/group.cy.ts') diff --git a/cypress/e2e/group.cy.ts b/cypress/e2e/group.cy.ts index 279cb6c..69c722a 100644 --- a/cypress/e2e/group.cy.ts +++ b/cypress/e2e/group.cy.ts @@ -1,14 +1,8 @@ -const groupData = { - eventGroupName: "Test Group", - eventGroupDescription: "Test Group Description", - eventGroupURL: "https://example.com", - hostName: "Test Host", - creatorEmail: "test@example.com", -}; +import groupData from "../fixtures/groupData.json"; describe("Groups", () => { beforeEach(() => { - cy.createGroup(groupData); + cy.createGroup(groupData, false); }); it("creates a new group", function () { cy.get("#eventGroupName").should("have.text", groupData.eventGroupName); -- cgit v1.2.3