summaryrefslogtreecommitdiff
path: root/cypress/e2e/group.cy.ts
diff options
context:
space:
mode:
authorRaphael Kabo <raphaelkabo@hey.com>2024-02-26 12:10:32 +0000
committerRaphael Kabo <raphaelkabo@hey.com>2024-02-26 12:10:32 +0000
commit9e11c3667e027f805fca37b5dffe9d8a52303a14 (patch)
tree58a2369cde40717bb6b34273566f3e31ab8c9932 /cypress/e2e/group.cy.ts
parentc93fd6e2d455ea4208f9e5ca6bfbd1c0e9fd1ad9 (diff)
testing: E2E tests for public and restricted events
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);