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

--- Comment #360 from Paul Derscheid <[email protected]> ---
Created attachment 210445
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210445&action=edit
Bug 41129: (QA follow-up) Reload bookable items when a patron is picked early

- Picking a patron before the bookable items arrived aborted the
  session's items request and nothing fetched them again, leaving
  'Pickup location', 'Item type' and 'Item' disabled until the modal
  was reopened
- Load the items through one helper used by session start and
  changePatron; changePatron reloads them when they are still empty,
  keeping an edit's assigned item
- Add a store spec that picks a patron while the items request is
  pending

Test plan:
1. Run: TZ=UTC yarn cypress run --spec
t/cypress/integration/Circulation/bookingsModalTimezone_spec.ts
2. Repeat step 1 a few times and confirm it passes every time; without
   this patch a test fails most runs with "not to have class
   'vs--disabled'"
3. Run: yarn cypress run --component --spec
t/cypress/component/stores/bookingsStoreWorkflow_spec.ts
4. Confirm it passes

Assisted-by: Opus 5.5 (Anthropic)
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]
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