Koha/t/db_dependent/selenium
Jonathan Druart 70ff3bafa0 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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-08-10 12:31:44 +02:00
..
administration_tasks.t Bug 26162: Wait for the table to be refreshed 2020-08-10 12:31:44 +02:00
authentication.t Bug 25811: Try to fix the random failure caused by not finding id=login 2020-08-05 10:20:51 +02:00
basic_workflow.t Bug 23463: Fix selenium tests (highlight a bug in date management) 2020-03-23 12:23:16 +00:00
patrons_search.t Bug 17374: (follow-up) Unit tests 2020-03-10 15:18:29 +00:00
regressions.t Bug 23493: Fix selenium/regressions.t 2020-01-30 09:40:10 +00:00
update_child_to_adult.t Bug 22928: Add selenium tests 2019-05-17 13:28:28 +00:00