Koha-clms/t/cypress/support
Martin Renvoize b591400ac1
Bug 37707: (follow-up) Add comprehensive Cypress tests for bookings modal
Reorganize and expand Cypress tests into three focused spec files:

bookingsModalBasic_spec.ts:
- Modal initialization and field interactions
- Form validation and submission
- Edit booking functionality
- 'Any item' booking with server-side item selection

bookingsModalDatePicker_spec.ts:
- Flatpickr initialization and constraints
- Date range validation
- Circulation rules (issue length, renewals)
- Lead/trail period conflict detection
- 'Any item' mode date availability
- Event dots for existing bookings

bookingsModalTimezone_spec.ts:
- Cross-timezone date display
- Multi-day booking spans
- Conflict detection with timezone awareness
- API round-trip date preservation
- Month boundary handling

Add shared test utilities to e2e.js for date helpers.

Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2026-02-10 08:51:07 -07:00
..
component-index.html Bug 38201: Add missing newlines at end of file 2025-10-02 09:40:32 -06:00
component.ts Bug 38201: Add component tests for useBaseResource 2025-10-02 09:40:21 -06:00
e2e.js Bug 37707: (follow-up) Add comprehensive Cypress tests for bookings modal 2026-02-10 08:51:07 -07:00
flatpickr.js Bug 39916: Add flatpickr helpers to cypress 2026-01-28 14:24:01 -07:00
select2.js Bug 39916: Add select2 helpers to cypress 2026-01-28 14:24:00 -07:00