Koha-clms/t/lib
Jonathan Druart ce8a819b5f 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>
2020-08-13 18:25:26 +00:00
..
Koha/Plugin Bug 25411: Regression tests 2020-05-22 09:03:51 +01:00
QA Bug 11529: (RM follow-up) Add WHILE to directive list 2019-08-05 18:43:26 +01:00
Dates.pm Bug 19176: (QA follow-up) few cosmetic changes 2017-11-03 13:50:27 -03:00
Mocks.pm Bug 17845: Remove some missed references to branchprinter 2020-03-10 15:18:28 +00:00
Selenium.pm Bug 26162: Wait for the table to be refreshed 2020-08-13 18:25:26 +00:00
TestBuilder.pm Bug 25638: Make the tests pass - ignoring the actual issue 2020-06-16 21:48:51 +00:00