https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41129

--- Comment #364 from Pedro Amorim (ammopt) <[email protected]> ---
(In reply to Paul Derscheid from comment #362)
> The component suite passes under TZ=America/New_York, Pacific/Auckland
> and UTC. bookingsModalTimezone_spec.ts passed 5 of 5 runs, and the
> bookings integration specs and the qa script as well.

Thanks Paul, the booking e2e specs still depend on the browser running in UTC.
With:

TZ=America/New_York yarn cypress run --spec
"t/cypress/integration/Circulation/bookingsModal*_spec.ts"

bookingsModalBasic_spec.ts and bookingsModalDatePicker_spec.ts fail (31 tests,
27 passing, 4 failing):
- bookingsModalBasic: "should successfully submit an 'Any item' booking...":
expected '2026-12-21T04:59:59.000Z' to include '2026-12-20'
- bookingsModalDatePicker: "should handle lead and trail periods": the
box-shadow row-end assertion
- bookingsModalDatePicker: "should maximize booking window by dynamically
reducing available items during overlaps": a day expected not to be
flatpickr-disabled
- bookingsModalDatePicker: "should correctly handle lead/trail period conflicts
for 'any item' bookings": trail blocker on 2026-12-23 expected 1, got undefined

CI runs in UTC so it's not a blocker, but it would be good to make these
timezone-independent like the component specs.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to