From 2447777c22ecbfdc5c1a8c82540b162870f4d5d0 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 Signed-off-by: Katrin Fischer --- 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