[Koha-bugs] [Bug 31199] selenium/patrons_search.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 6 23:37:44 CET 2023


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

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcook at prosentient.com.au

--- Comment #11 from David Cook <dcook at prosentient.com.au> ---
I'm just looking at t/lib/Selenium.pm and it looks like the message in
"wait_for_ajax" is a bit misleading.

The "die" message should probably say something more like "Cannot wait more for
jQuery to be ready - jQuery still has active AJAX requests (wait_for_ajax)"

--

Well the sort of good news is that I've run "prove -v
./t/db_dependent/selenium/patrons_search.t" again and it failed for me this
time. It didn't fail yesterday. 

    ok 24 - Refining with header filters works to further filter the original
query
    # Subtest: remember_search
        1..7
        ok 1 - Patrons selected is not displayed
        ok 2 - One patron selected
        ok 3 - Two patrons are selected
        ok 4 - Three patrons are selected
        ok 5 - Three patrons still selected
        ok 6
        ok 7
    ok 25 - remember_search
    # Subtest: filter by date of birth
        1..7
        ok 1 - search by correct year shows the patron
        # Looks like you planned 7 tests but ran 1.
    not ok 26 - filter by date of birth

    #   Failed test 'filter by date of birth'
    #   at ./t/db_dependent/selenium/patrons_search.t line 392.
    # Looks like you failed 1 test of 26.
not ok 1 - Search patrons

#   Failed test 'Search patrons'
#   at ./t/db_dependent/selenium/patrons_search.t line 401.
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.
WARNING: Cleanup failed!
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests

Test Summary Report
-------------------
./t/db_dependent/selenium/patrons_search.t (Wstat: 65280 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
Files=1, Tests=1, 50 wallclock secs ( 0.02 usr  0.02 sys +  4.80 cusr  1.20
csys =  6.04 CPU)
Result: FAIL


Yikes when it fails you have to do a "reset_all" it seems...

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


More information about the Koha-bugs mailing list