[Koha-bugs] [Bug 33263] New: selenium/patrons_search.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 17 11:56:28 CET 2023


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

            Bug ID: 33263
           Summary: selenium/patrons_search.t is failing randomly
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: jonathan.druart+koha at gmail.com
          Reporter: jonathan.druart+koha at gmail.com
        QA Contact: testopia at bugs.koha-community.org

21:02:22 koha_1       | STRACE: /usr/share/perl5/Try/Tiny.pm:123 in
Selenium::Remote::Driver::catch {...} 
21:02:22 koha_1       |         /usr/share/perl5/Selenium/Remote/Driver.pm:361
in Try::Tiny::try
21:02:22 koha_1       |         (eval 544):1 in
Selenium::Remote::Driver::__ANON__
21:02:22 koha_1       |         (eval 546):2 in
Selenium::Remote::Driver::__ANON__
21:02:22 koha_1       |         (eval 518):17 in
Selenium::Remote::Driver::_execute_command
21:02:22 koha_1       |        
/usr/share/perl5/Selenium/Remote/WebElement.pm:63 in
Selenium::Remote::WebElement::_execute_command
21:02:22 koha_1       |         t/db_dependent/selenium/patrons_search.t:305 in
Selenium::Remote::WebElement::click
21:02:22 koha_1       |         /usr/share/perl/5.32/Test/Builder.pm:334 in
main::__ANON__
21:02:22 koha_1       |         /usr/share/perl/5.32/Test/Builder.pm:334 in
(eval)
21:02:22 koha_1       |         /usr/share/perl/5.32/Test/More.pm:809 in
Test::Builder::subtest
21:02:22 koha_1       |         t/db_dependent/selenium/patrons_search.t:329 in
Test::More::subtest
21:02:22 koha_1       |         /usr/share/perl/5.32/Test/Builder.pm:334 in
main::__ANON__
21:02:22 koha_1       |         /usr/share/perl/5.32/Test/Builder.pm:334 in
(eval)
21:02:22 koha_1       |         /usr/share/perl/5.32/Test/More.pm:809 in
Test::Builder::subtest
21:02:22 koha_1       |         t/db_dependent/selenium/patrons_search.t:340 in
Test::More::subtest
21:02:22 koha_1       | 
21:02:22 selenium_1   | 1678996938891   Marionette      INFO    Stopped
listening on port 46123
21:02:22 selenium_1   | JavaScript error: resource:///modules/Interactions.jsm,
line 230: NS_ERROR_FAILURE: Component returned failure code: 0x80004005
(NS_ERROR_FAILURE) [nsIUserIdleService.removeIdleObserver]
21:02:22 selenium_1   | 20:02:19.387 INFO [ActiveSessions$1.onStop] - Removing
session 271bae1c-da93-47f1-8ae7-3192cd7be69e
(org.openqa.selenium.firefox.GeckoDriverService)
21:02:22 koha_1       |         # Looks like you planned 7 tests but ran 3.
21:02:22 koha_1       | 
21:02:22 koha_1       |     #   Failed test 'remember_search'
21:02:22 koha_1       |     #   at t/db_dependent/selenium/patrons_search.t
line 329.
21:02:22 koha_1       |     # Looks like you failed 1 test of 25.
21:02:22 koha_1       | 
21:02:22 koha_1       | #   Failed test 'Search patrons'
21:02:22 koha_1       | #   at t/db_dependent/selenium/patrons_search.t line
340.
21:02:22 koha_1       | Error while executing command: stale element reference:
The element reference of <input id="check58" class="selection"
name="borrowernumber" type="checkbox"> is stale; either the element is no
longer attached to the DOM, it is not in the current frame context, or the
document has been refreshed at /usr/share/perl5/Selenium/Remote/Driver.pm line
411.
21:02:22 koha_1       |  at /usr/share/perl5/Selenium/Remote/Driver.pm line
356.
21:02:22 koha_1       | # Looks like your test exited with 255 just after 1.
21:02:22 koha_1       | [20:02:19] t/db_dependent/selenium/patrons_search.t

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


More information about the Koha-bugs mailing list