Koha-clms/t/cypress/integration/Circulation
Paul Derscheid 9c7b02b365
Bug 37707: (QA follow-up) Fix incorrect bold date expectations in Cypress test
- The test for circulation rules date calculations did not account for
  the start date being bold, only the period endpoint dates
- place_booking.js explicitly adds the selected start date to boldDates
  (boldDates = [new Date(startDate)]), giving it the "title" class
- The verification loop checking for unexpected bold dates then failed
  when it encountered the start date, which was bold but not expected
- Add clearZoneStart to expectedBoldDates to match actual behavior

To test:
- yarn cypress run --spec t/cypress/integration/Circulation/bookingsModalDatePicker_spec.ts
- Verify that the "should handle circulation rules date calculations and visual feedback" test now passes

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:08 -07:00
..
bookingsModalBasic_spec.ts Bug 37707: (follow-up) Add comprehensive Cypress tests for bookings modal 2026-02-10 08:51:07 -07:00
bookingsModalDatePicker_spec.ts Bug 37707: (QA follow-up) Fix incorrect bold date expectations in Cypress test 2026-02-10 08:51:08 -07:00
bookingsModalTimezone_spec.ts Bug 37707: (follow-up) Add comprehensive Cypress tests for bookings modal 2026-02-10 08:51:07 -07:00