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

--- Comment #234 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 211726
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211726&action=edit
Bug 42383: (QA follow-up) Say what closing the transfer dialog does

Closing the dialog of a transfer without a button (Escape, or scanning the
next item) does different things: it confirms an existing transfer when
AutomaticConfirmTransfer is set, leaves it as it is when it is not, and
does not create the transfer when AutomaticItemReturn is off. Nothing on the
dialog said which, and the primary button is the same in all three cases.

The dialog now has a line under the question that says what closing it will
do. It is not shown when TransfersBlockCirc blocks the page, as the dialog
cannot be closed then.

Test plan:
1. Apply the patch and rebuild the JS (yarn js:build)
2. Set AutomaticItemReturn to "Automatically transfer",
AutomaticConfirmTransfer
   to "Don't confirm" and TransfersBlockCirc to "Don't block". Check in an
   item that belongs to another library
=> The dialog says that closing it leaves the transfer as it is
3. Set AutomaticConfirmTransfer to "Confirm" and check in another
=> It says that closing it, or scanning the next item, confirms the transfer
4. Set AutomaticItemReturn to "Don't automatically transfer" and check in
another
=> It says that closing it does not transfer the item
5. Run:
   $ yarn cypress run --spec t/cypress/integration/Circulation/Checkin_spec.ts
=> SUCCESS: Tests pass!

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