[Koha-bugs] [Bug 32010] selenium/authentication_2fa.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 31 09:59:49 CET 2022


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

Victor Grousset/tuxayo <victor at tuxayo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |victor at tuxayo.net

--- Comment #4 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
In 77 runs I got 17 times "not such alert". (line 282) It might be less
frequent but not sure.

But the other errors almost disappeared. So bug 32011 helped!
I got only 3 times:
unexpected alert open: Dismissed user prompt dialog: Two-factor [...]. (line
282)
Seem there is still a rare cause that wasn't solved by bug 32011


"not such alert" still happened in the CI:
https://jenkins.koha-community.org/view/master/job/Koha_Master/2248/consoleText

Another CI run got
unexpected alert open: Dismissed user prompt dialog: Two-factor [...]


I also got twice:
```
t/db_dependent/selenium/authentication_2fa.t .. 1/5     # Looks like you
planned 12 tests but ran 6.
#   Failed test 'Setup'
#   at t/db_dependent/selenium/authentication_2fa.t line 114.
Cannot wait more for jQuery to be active (wait_for_ajax) at
/kohadevbox/koha/t/lib/Selenium.pm line 206.
# Looks like your test exited with 255 just after 1.
t/db_dependent/selenium/authentication_2fa.t .. Dubious, test returned 255
(wstat 65280, 0xff00)
```
It doesn't show where it was called ^^"
Should I add a strackstrace print in t/lib/Selenium.pm ?


So anyway, authentication_2fa.t is still failing randomly

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


More information about the Koha-bugs mailing list