[Koha-bugs] [Bug 26162] Prevent Selenium's StaleElementReferenceException

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 3 16:20:08 CEST 2020


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

--- Comment #15 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
So, this approach did not fix the problem.

We got another failure:
https://jenkins.koha-community.org/job/Koha_Master_U18/886/consoleFull

Screenshot is: https://snipboard.io/nxYFhq.jpg

15:20:58 selenium_1   | 06:20:58.918 INFO - Executing: [click: 35
[[FirefoxDriver: firefox on LINUX (67a62258-11cc-423b-b6e7-0e9e8b66997a)] ->
xpath: //div[@class="main container-fluid"]//a[contains(@href,
"/admin/branches.pl?op=add_form&branchcode=UT_BC")]]])
15:21:19 selenium_1   | 06:21:19.815 WARN - Exception thrown
15:21:19 selenium_1   | org.openqa.selenium.StaleElementReferenceException:
Element not found in the cache - perhaps the page has changed since it was
looked up

15:21:40 koha_1       | STRACE: /usr/share/perl5/Try/Tiny.pm:123 in
Selenium::Remote::Driver::catch {...} 
15:21:40 koha_1       |        
/usr/local/share/perl/5.26.1/Selenium/Remote/Driver.pm:353 in Try::Tiny::try
15:21:40 koha_1       |         (eval 1579):1 in
Selenium::Remote::Driver::__ANON__
15:21:40 koha_1       |         (eval 1581):2 in
Selenium::Remote::Driver::__ANON__
15:21:40 koha_1       |        
/usr/local/share/perl/5.26.1/Selenium/Remote/Driver.pm:1330 in
Selenium::Remote::Driver::_execute_command
15:21:40 koha_1       |        
/usr/local/share/perl/5.26.1/Selenium/Remote/Driver.pm:1330 in (eval)
15:21:40 koha_1       |         /kohadevbox/koha/t/lib/Selenium.pm:126 in
Selenium::Remote::Driver::find_element
15:21:40 koha_1       |        
t/db_dependent/selenium/administration_tasks.t:137 in
t::lib::Selenium::fill_form



That's getting really (really!) annoying...

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


More information about the Koha-bugs mailing list