Koha-clms/t/lib
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
..
Koha/Plugin Bug 25411: Regression tests 2020-06-22 11:48:04 +12: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 21817: Centralize the mock of userenv from tests 2019-01-02 20:18:29 +00:00
Selenium.pm Bug 26162: Wait for the table to be refreshed 2020-08-17 09:57:32 +12:00
TestBuilder.pm Bug 24062: Make sure TestBuilder will stop generate X or other invalid category's types 2019-11-19 15:17:08 +00:00