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

--- Comment #47 from Paul Derscheid <[email protected]> ---
I think I just fixed that in a QA follow-up on Bug 37707:
From ed454828ff3e9fe94c93c79ad0857add80a078f6 Mon Sep 17 00:00:00 2001
From: Paul Derscheid <[email protected]>
Date: Mon, 9 Feb 2026 15:25:34 +0100
Subject: [PATCH] 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 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to