cal.pub0.org/apps/web/playwright
Joe Au-Yeung a5b5382306
fix: seats regression [CAL-2041]
## What does this PR do?

<!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. -->

- Passes the proper seats data in the new booker component between states and to the backend

Fixes #9779
Fixes #9749
Fixes #7967 
Fixes #9942 

<!-- Please provide a loom video for visual changes to speed up reviews
 Loom Video: https://www.loom.com/
-->

## Type of change

<!-- Please delete bullets that are not relevant. -->

- Bug fix (non-breaking change which fixes an issue)

## How should this be tested?

<!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration -->

**As the organizer** 
- Create a seated event type
- Book at least 2 seats
- Reschedule the booking
    - All attendees should be moved to the new booking
- Cancel the booking
    - The event should be cancelled for all attendees

**As an attendee**
- [x] Book a seated event
- [x] Reschedule that booking to an empty slot
    - [x] The attendee should be moved to that new slot
- [x] Reschedule onto a booking with occupied seats
    - [x] The attendees should be merged
- [x] On that slot reschedule all attendees to a new slot
    - [x] The former booking should be deleted
- [x] As the attendee cancel the booking
    - [x] Only that attendee should be removed 

## Mandatory Tasks

- [x] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

## Checklist

<!-- Please remove all the irrelevant bullets to your PR -->
2023-07-11 20:41:08 +05:30
..
auth feat: Add password checks for password-reset (#10042) 2023-07-10 12:13:20 -07:00
fixtures fix: Stripe integration (#9462) 2023-07-01 19:18:27 +02:00
integrations.e2e.ts-snapshots Fix webhook e2e test (#7455) 2023-03-02 12:13:55 +00:00
lib fix: seats regression [CAL-2041] 2023-07-11 20:41:08 +05:30
app-store.e2e.ts chore: Replace UI login with api login on e2e tests (#9344) 2023-06-06 18:02:32 +00:00
availability.e2e.ts chore: Replace UI login with api login on e2e tests (#9344) 2023-06-06 18:02:32 +00:00
booking-pages.e2e.ts fix: seats regression [CAL-2041] 2023-07-11 20:41:08 +05:30
booking-seats.e2e.ts fix: seats regression [CAL-2041] 2023-07-11 20:41:08 +05:30
change-password.e2e.ts chore: Replace UI login with api login on e2e tests (#9344) 2023-06-06 18:02:32 +00:00
change-theme.e2e.ts test: Add E2E test to verify theme change (#9455) 2023-06-12 16:14:40 +00:00
change-username.e2e.ts chore: Replace UI login with api login on e2e tests (#9344) 2023-06-06 18:02:32 +00:00
dynamic-booking-pages.e2e.ts test: Add E2E tests for seated attendee rescheduling or cancelling bookings (#9422) 2023-06-10 03:47:50 +00:00
embed-code-generator.e2e.ts chore: Replace UI login with api login on e2e tests (#9344) 2023-06-06 18:02:32 +00:00
event-types.e2e.ts chore: removed old booker and make new booker as a default (#10053) 2023-07-11 13:31:55 +02:00
hash-my-url.e2e.ts chore: Replace UI login with api login on e2e tests (#9344) 2023-06-06 18:02:32 +00:00
integrations-stripe.e2e.ts fix: Stripe integration (#9462) 2023-07-01 19:18:27 +02:00
integrations.e2e.ts chore: Replace UI login with api login on e2e tests (#9344) 2023-06-06 18:02:32 +00:00
login.2fa.e2e.ts test: Two Factor Auth (#9142) 2023-05-30 14:23:49 +00:00
login.api.e2e.ts chore: Replace UI login with api login on e2e tests (#9344) 2023-06-06 18:02:32 +00:00
login.e2e.ts ci: Fix fetch() error, improvements to booking-seats test (#9203) 2023-05-30 13:52:07 +00:00
login.oauth.e2e.ts
manage-booking-questions.e2e.ts chore: removed old booker and make new booker as a default (#10053) 2023-07-11 13:31:55 +02:00
managed-event-types.e2e.ts feat: Routing Forms/Teams Support (#9417) 2023-06-15 08:58:07 +00:00
onboarding.e2e.ts chore: Replace UI login with api login on e2e tests (#9344) 2023-06-06 18:02:32 +00:00
reschedule.e2e.ts chore: removed old booker and make new booker as a default (#10053) 2023-07-11 13:31:55 +02:00
saml.e2e.ts
teams.e2e.ts chore: Replace UI login with api login on e2e tests (#9344) 2023-06-06 18:02:32 +00:00
trial.e2e.ts
webhook.e2e.ts feat: Enable Apps for Teams & Orgs [CAL-1782] (#9337) 2023-07-06 16:48:39 +00:00
wipe-my-cal.e2e.ts chore: Replace UI login with api login on e2e tests (#9344) 2023-06-06 18:02:32 +00:00