[Koha-bugs] [Bug 19243] Selenium test for testing the administration module functionality

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 26 20:29:56 CET 2017


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

--- Comment #29 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Alex Buckley from comment #23)
> Hi Jonathan

Hi Alex,

> I have just attached a patch which tests the creation of an authorised value
> and a patron category. 
> 
> The difficulties I faced with adding these were that a modal box is
> displayed when you delete authorised values. Trying to confirm the deletion
> with the modal box is problematic and I have not been able to find a
> solution for that yet. 
> 
There were some issues in your patch. You must keep in mind than the tests have
to pass on other installations and your tests must not modify the DB (so you
must cleanup).
Take a look at the last 2 patches, they fix the different problems.
To confirm a modal, you need to call $driver->accept_alert;

> Additionally in the creation of patron categories you must select a value
> from a dropdown box, I am still trying to find a solution for this. 

You just need to specify the id of the select and the value of the option you
want to select.

> I will be away from my computer for the next 3.5 weeks whilst travelling in
> Egypt and Jordan and will be able to return to this in mid Jan along with
> other Koha development work I am working on.

Enjoy your holidays then :)

I am going to open another bug report for the pages we do not test in these
patches and let this one moving on.

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


More information about the Koha-bugs mailing list