[Koha-bugs] [Bug 26986] New: Second try to prevent Selenium's StaleElementReferenceException

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 10 11:37:23 CET 2020


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

            Bug ID: 26986
           Summary: Second try to prevent Selenium's
                    StaleElementReferenceException
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: jonathan.druart at bugs.koha-community.org
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 26162

This is a follow-up bug for bug 26162

The test is still failing:
STRACE: /usr/share/perl5/Try/Tiny.pm:123 in Selenium::Remote::Driver::catch
{...}                                                                           
        /usr/local/share/perl/5.28.1/Selenium/Remote/Driver.pm:353 in
Try::Tiny::try                                                                 
                                                (eval 1687):1 in
Selenium::Remote::Driver::__ANON__                                              
        (eval 1689):2 in Selenium::Remote::Driver::__ANON__                     
        /usr/local/share/perl/5.28.1/Selenium/Remote/Driver.pm:1331 in
Selenium::Remote::Driver::_execute_command
        /usr/local/share/perl/5.28.1/Selenium/Remote/Driver.pm:1331 in (eval)
        /kohadevbox/koha/t/lib/Selenium.pm:126 in
Selenium::Remote::Driver::find_element
        t/db_dependent/selenium/administration_tasks.t:137 in
t::lib::Selenium::fill_form

The screenshot is showing the library list, which means the edit button has not
been clicked.

In the selenium logs there is:
12:44:39 selenium_1   | 03:44:38.642 WARN - Exception: Unable to locate
element: {"method":"xpath","selector":"//*[@id=\"branchname\"]"}
12:44:39 selenium_1   | For documentation on this error, please visit:
http://seleniumhq.org/exceptions/no_such_element.html


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26162
[Bug 26162] Prevent Selenium's StaleElementReferenceException
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list