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

--- Comment #28 from Jonathan Druart <[email protected]> ---
(In reply to Jonathan Druart from comment #27)
> Created attachment 170745 [details] [review]
> Bug 35402: Fix some selenium tests

This patch fixes the following tests:

t/db_dependent/selenium/administration_tasks.t 
t/db_dependent/selenium/authentication_2fa.t
t/db_dependent/selenium/patrons_search.t 

2 others are not fixed:

1. t/db_dependent/selenium/regressions.t .. 5/9 Error while executing command:
no such element: Unable to locate element:
//span[@id="audio-alert"]/audio[@src="/intranet-tmpl/prog/sound/beep.ogg"] at
/usr/share/perl5/Selenium/Remote/Driver.pm line 411.

opening.ogg is played instead of beep.ogg (change in behaviour). Is that
expected?
In my understanding it's happening because we know have a modal in the DOM with
the class "audio-alert-action":
    <div id="circ-warnwaitingholds-modal" class="modal audio-alert-action
block">

2. 
#   Failed test 'Update child to patron'
#   at t/db_dependent/selenium/update_child_to_adult.t line 153.
Error while executing command: unexpected alert open: Dismissed user prompt
dialog: Are you sure you want to update this child to an Adult category? This
cannot be undone. at /usr/share/perl5/Selenium/Remote/Driver.pm line 411.

This is happening because the "Update child to adult" item in the "More" menu
(members module) is clickable. There is a tooltip and prior to this change the
item was not clickable and we didn't get the alert.

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

Reply via email to