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

--- Comment #132 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 209792
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209792&action=edit
Bug 42383: (QA follow-up) Make basic_workflow.t check in for real

The check-in step of basic_workflow.t loaded circ/checkin.pl with the
barcode URL parameter and checked the page title. The new page does
not check in items from the URL anymore, and the title is rendered
before the Vue app is even mounted, so this proved nothing.

This patch addresses point 9 of the QA comment by making the test drive
the Vue page like staff would: it waits for the app to be mounted,
types each barcode, submits the form and waits for the item to be
listed in the checked in items table, along with its title. It then
checks in the database that the patron has no checkouts left.

Test plan:
1. Apply this patch
2. Run:
   $ ktd --selenium up -d
   $ ktd --shell
  k$ prove -v t/db_dependent/selenium/basic_workflow.t
=> SUCCESS: Tests pass! The check-in tests now list the barcodes
3. Sign off :-D

Assisted-by: Opus 5.5 (Anthropic)

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