diff options
author | Raphael <mail@raphaelkabo.com> | 2024-02-06 09:18:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-06 09:18:19 +0000 |
commit | 9e249e508ead933cb26eba597003a3b4764e27a5 (patch) | |
tree | ff9c1b7784b436002a2ebfa86779c4e25ecf64b1 /cypress | |
parent | ecff04b132db687f67d9a6cda2d1c13831c45394 (diff) | |
parent | e40ef51f26d04620b85fcbb15b5c9de857fcbf7b (diff) |
Merge pull request #129 from lowercasename/rk/fix-pleroma
Pleroma federation fixes and hidden RSVP functionality
Diffstat (limited to 'cypress')
-rw-r--r-- | cypress/e2e/event.cy.ts | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/cypress/e2e/event.cy.ts b/cypress/e2e/event.cy.ts index 78cc2ca..8870164 100644 --- a/cypress/e2e/event.cy.ts +++ b/cypress/e2e/event.cy.ts @@ -86,7 +86,7 @@ describe("Events", () => { ); }); - it("allows you to attend an event", function () { + it("allows you to attend an event - visible in public list", function () { cy.get("button#attendEvent").click(); cy.get("#attendeeName").type("Test Attendee"); cy.get("#attendeeNumber").focus().clear(); @@ -99,6 +99,20 @@ describe("Events", () => { ); }); + it("allows you to attend an event - hidden from public list", function () { + cy.get("button#attendEvent").click(); + cy.get("#attendeeName").type("Test Attendee"); + cy.get("#attendeeNumber").focus().clear(); + cy.get("#attendeeNumber").type("2"); + cy.get("#attendeeVisible").uncheck(); + cy.get("form#attendEventForm").submit(); + cy.get("#attendees-alert").should("contain.text", "8 spots remaining"); + cy.get(".attendeesList").should( + "contain.text", + "Test Attendee (2 people) (hidden from public list)", + ); + }); + it("allows you to comment on an event", function () { cy.get("#commentAuthor").type("Test Author"); cy.get("#commentContent").type("Test Comment"); |