
Omar LópezandDevin AI
179a547bd0
feat: add race condition test for calendar-cache-serve booking flow (#22170)
* feat: add race condition test for calendar-cache-serve booking flow
- Reproduces double-booking when two guests book same timeslot 1-2s apart
- Enables both calendar-cache and calendar-cache-serve feature flags
- Uses parallel browser contexts to simulate concurrent booking attempts
- Verifies both bookings succeed and create double-booking scenario
Co-Authored-By: zomars@cal.com <zomars@me.com>
* fix: correct page reference in race condition test timeout
- Change page.waitForTimeout(1500) to use correct page context
- Fix timeslot selection to ensure both contexts book same slot
- Remove incorrect host assertion and add logging to demonstrate race condition
- Test now successfully reproduces double-booking bug locally
- Fixes 'end of central directory record signature not found' error
Co-Authored-By: zomars@cal.com <zomars@me.com>
* Update booking-race-condition.e2e.ts
* Update booking-race-condition.e2e.ts
* Update booking-race-condition.e2e.ts
* Update booking-race-condition.e2e.ts
* Create scratchpad.md
* Update booking-race-condition.e2e.ts
* Delete scratchpad.md
* Update booking-race-condition.e2e.ts
* Update booking-race-condition.e2e.ts
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-07-09 10:33:13 -04:00
..
2025-07-09 12:15:09 +01:00
2025-07-07 10:20:24 +01:00
2025-07-09 10:33:13 -04:00