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

--- Comment #311 from Matt Blenkinsop <[email protected]> ---
Created attachment 209507
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209507&action=edit
Bug 41129: (QA follow-up) Derive the remaining pinned dates

- Two DatePicker tests and the Basic "Any item" test pinned the clock to
  2026-06-10, so the bookings they create on the server are now dated in
  the past; they only passed because the backend accepts past bookings
- Derive the pin from the real date like the rest of the booking specs
- The lead/trail test asserts weekday-dependent band geometry, so it pins
  to the first Wednesday of next month (2026-06-10 was a Wednesday) and
  writes its days as offsets from it; the assertions are unchanged

Test plan:
1. Run: yarn cypress run --spec
   "t/cypress/integration/Circulation/bookingsModal*_spec.ts"
2. Confirm all specs pass
3. Review with git show --word-diff: only date literals and their
   comments change

Assisted-by: Opus 5.5 (Anthropic)
Signed-off-by: Paul Derscheid <[email protected]>
Signed-off-by: Matt Blenkinsop <[email protected]>

-- 
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