From ad1c38b58911e0ae72f9cf33feada0be317598b2 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 3 Oct 2023 09:21:35 +0200 Subject: [PATCH] Bug 34913: Fix a selenium test t/db_dependent/selenium/administration_tasks.t ....... 3/3 Cannot show all entries from table //div[@id="libraries_wrapper"] at /kohadevbox/koha/t/lib/Selenium.pm line 247. Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize (cherry picked from commit 204a840a4d71c677d49378588f4ed529cdc83fea) Signed-off-by: Fridolin Somers --- t/lib/Selenium.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/lib/Selenium.pm b/t/lib/Selenium.pm index 1117ce7762..99bc68f1db 100644 --- a/t/lib/Selenium.pm +++ b/t/lib/Selenium.pm @@ -236,7 +236,7 @@ sub show_all_entries { my $max_retries = $self->max_retries; while ( not $all_displayed ) { my $dt_infos = $self->driver->get_text( - $xpath_selector . '//div[@class="dataTables_info"]' ); + $xpath_selector . '//div[@class="dt-info"]' ); if ( $dt_infos =~ m|Showing 1 to (\d+) of (\d+) entries| ) { $all_displayed = 1 if $1 == $2; -- 2.39.5