diff options
| author | Raphael Kabo <raphaelkabo@hey.com> | 2024-02-26 12:10:32 +0000 | 
|---|---|---|
| committer | Raphael Kabo <raphaelkabo@hey.com> | 2024-02-26 12:10:32 +0000 | 
| commit | 9e11c3667e027f805fca37b5dffe9d8a52303a14 (patch) | |
| tree | 58a2369cde40717bb6b34273566f3e31ab8c9932 /cypress/fixtures | |
| parent | c93fd6e2d455ea4208f9e5ca6bfbd1c0e9fd1ad9 (diff) | |
testing: E2E tests for public and restricted events
Diffstat (limited to 'cypress/fixtures')
| -rw-r--r-- | cypress/fixtures/eventData.json | 16 | ||||
| -rw-r--r-- | cypress/fixtures/example.json | 5 | ||||
| -rw-r--r-- | cypress/fixtures/groupData.json | 7 | 
3 files changed, 23 insertions, 5 deletions
diff --git a/cypress/fixtures/eventData.json b/cypress/fixtures/eventData.json new file mode 100644 index 0000000..a38ccf2 --- /dev/null +++ b/cypress/fixtures/eventData.json @@ -0,0 +1,16 @@ +{ +    "eventName": "Your Event Name", +    "eventLocation": "Event Location", +    "timezone": "America/New York", +    "eventDescription": "Event Description", +    "eventURL": "https://example.com", +    "hostName": "Your Name", +    "creatorEmail": "test@example.com", +    "eventGroupCheckbox": false, +    "interactionCheckbox": true, +    "joinCheckbox": true, +    "maxAttendeesCheckbox": true, +    "maxAttendees": 10, +    "eventStart": "2030-01-01T00:00", +    "eventEnd": "2030-01-01T01:00" +} diff --git a/cypress/fixtures/example.json b/cypress/fixtures/example.json deleted file mode 100644 index 519902d..0000000 --- a/cypress/fixtures/example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ -    "name": "Using fixtures to represent data", -    "email": "hello@cypress.io", -    "body": "Fixtures are a great way to mock data for responses to routes" -} diff --git a/cypress/fixtures/groupData.json b/cypress/fixtures/groupData.json new file mode 100644 index 0000000..907c3b2 --- /dev/null +++ b/cypress/fixtures/groupData.json @@ -0,0 +1,7 @@ +{ +    "eventGroupName": "Test Group", +    "eventGroupDescription": "Test Group Description", +    "eventGroupURL": "https://example.com", +    "hostName": "Test Host", +    "creatorEmail": "test@example.com" +}  | 
