[Koha-bugs] [Bug 18974] Adding further selenium tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 11 01:26:21 CEST 2017


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

--- Comment #5 from Alex Buckley <alexbuckley at catalyst.net.nz> ---
Created attachment 65867
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65867&action=edit
Bug 18974 - Selenium test for purchase workflow

This test covers the creation of purchase suggestion in the OPAC.
The approval of that purchase suggestion in the intranet and then the
creation of vendor, basket and the creation of the order from the
suggested item

Test plan:
1. Make sure you have a superlibrarian patron with the name koha and
password koha

2. Make sure you have an active budget and fund both with a value of
greater than 0

3. Make sure you set the staffClientBaseURL and OPACBaseURL to their
appropriate values for your environment. If you are testing using
Kohadevbox then the corrext values for these sysprefs is localhost:8080
and http://localhost:80 respectively

4. Ensure you have your selenium service running

5. Navigate to t/db_dependent/selenium

6. Enter Koha shell: sudo koha-shell <instancename>

7. perl purachse_workflow.t

8. The test takes a while to excute but notice that all tests pass

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list