Koha-clms/t/db_dependent/selenium
Jonathan Druart 0a127a78e9 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>
(cherry picked from commit 70ff3bafa0)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit ce8a819b5f)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
2020-08-17 09:57:32 +12:00
..
administration_tasks.t Bug 26162: Wait for the table to be refreshed 2020-08-17 09:57:32 +12:00
authentication.t Bug 22860: Remove 1 remaining patron after authentication.t is ran 2020-03-05 00:34:08 +00:00
basic_workflow.t Bug 23039: (RM follow-up) Fix basic_workflow test 2019-10-07 14:09:10 +01:00
patrons_search.t Bug 23280: Silence warning 2019-07-08 17:42:11 +01:00
regressions.t Bug 23903: (QA follow-up) Fix selenium tests 2019-11-04 11:04:51 +00:00
update_child_to_adult.t Bug 22928: Add selenium tests 2019-05-17 13:28:28 +00:00