summaryrefslogtreecommitdiff
path: root/cypress/e2e/group.cy.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cypress/e2e/group.cy.ts')
-rw-r--r--cypress/e2e/group.cy.ts10
1 files changed, 2 insertions, 8 deletions
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);