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

--- Comment #195 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 205569
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=205569&action=edit
Bug 41129: (QA follow-up) Adapt the flatpickr helper and specs to the inline
two-month calendar

- Day selector: exclude the hidden overflow cells (.hidden) that
  showMonths > 1 renders for the neighbouring month, so a date near a
  month boundary matches one element
- Select helpers: wait for the day to lose flatpickr-disabled before
  clicking; every day is disabled until availability has loaded, and a
  click on a disabled day is silently ignored
- Wait for the item-specific availability after selecting an item: the
  picker stays enabled on the previous context's data meanwhile, and
  the redraw applying the new data wipes any hover preview set before
- Rewrite the two tests expecting the calendar to close: it is inline
  now, Escape from a day returns focus to the input
- Drop the runMode retries from bookingsModalBasic_spec.ts, which
  masked the disabled-day clicks

Test plan:
1. cypress run --spec
't/cypress/integration/Circulation/bookingsModal*_spec.ts'

Assisted-by: Fable 5.1 (Anthropic)
Signed-off-by: Paul Derscheid <[email protected]>
Signed-off-by: Martin Renvoize <[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