https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38441
Lisette Scheer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179807|0 |1 is obsolete| | --- Comment #50 from Lisette Scheer <[email protected]> --- Created attachment 180041 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180041&action=edit Bug 38441: Add tests Test plan: 1) Apply patches 2) Run (ignore if using a sandbox): $ reset_all 3) Visit ILL system preferences: <staff_url>/cgi-bin/koha/admin/preferences.pl?tab=interlibrary_loans 4) Enable ILLModule and ILLHistoryCheck system preferences -- STAFF testing -- 5) Create a new ILL request, visit: <staff_url>/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard 6) Pick type = 'Journal article', enter '123' for ISSN, '42' for cardnumber and any library. Click create. 7) Repeat 5) and 6). Notice you're now on the 'Request history check' screen. Verify your previous ILL request is listed. Click 'Submit anyway'. 8) Repeat 5) and 6). But pick a different patron cardnumber this time e.g. '23529000035676'. 9) Verify you're shown the 'Request history check' screen listing the 2 previously created requests. Click 'Submit anyway'. 10) Repeat 5 and 6). Use cardnumber '23529000035676' again. 11) Verify you're shown the 'Request history check' screen. The listing now shows the requests found for this patron first, then lists the remaining found requests for other patrons. -- OPAC testing -- 12) Place a new request through the OPAC, visit: <opac_url>/cgi-bin/koha/opac-illrequests.pl?op=add_form&backend=Standard 13) Pick type = 'Journal article', enter '123' for ISSN. Click 'Create'. Notice it shows the 'history check' screen listing the existing 2 requests. Click 'Submit anyway'. 14) Return to the Staff UI: <staff_url>/cgi-bin/koha/ill/ill-requests.pl 15) Click on the latest ILL request. Verify 'Staff notes' contain information relating to already existing ILL requests. -- Bonus testing -- 16) On the Staff UI, create a new request for cardnumber 23529000035676 with ISSN = 321 17) On the OPAC, logged in as koha:koha, place a request with ISSN = 321. Verify you don't get shown the history check but the staff notes is still added 18) Play around with ILLModuleDisclaimerByType and ILLOpacUnauthenticatedRequest (easy) 19) Play around with ILLCheckAvailability and AutoILLBackendPriority (reach out for help using these preferences) Run tests: $ prove t/db_dependent/Koha/ILL/Request/Workflow/HistoryCheck.t Signed-off-by: Lisette Scheer <[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/
