[Koha-bugs] [Bug 26162] Prevent Selenium's StaleElementReferenceException
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 10 12:29:48 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26162
--- Comment #6 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 107985
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=107985&action=edit
Bug 26162: Wait for the table to be refreshed
The previous patch did not work as expected. We still got a
StaleElementReference exception.
But this time on
10:43:47 selenium_1 | Caused by: org.openqa.selenium.NoSuchElementException:
Unable to locate element:
{"method":"xpath","selector":"//*[@id=\"branchname\"]"}
Because we found the one that existed on the page, not the one sent back
in AJAX.
The idea of this patch is to search for the "Showing 1 to X of Y entries" info
and wait for X == Y
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list