Koha-clms/t/lib
Jonathan Druart fba2a862a3 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>

(cherry picked from commit 0a127a78e9)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2020-09-20 14:48:24 +02:00
..
Koha/Plugin Bug 20968: Rename method get_intranet_catalog_toolbar_button to intranet_catalog_biblio_enhancements_toolbar_button 2018-11-02 10:36:03 +00:00
QA Bug 22466: Do not ask for TT methods to be filtered 2019-03-07 18:17:32 +00: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-09-20 14:48:24 +02:00
TestBuilder.pm Bug 24062: Make sure TestBuilder will stop generate X or other invalid category's types 2020-06-11 18:06:24 +02:00