From 9ca19e65685a5ac6bb1c541e0c8c3c6fbfcef975 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 3 Dec 2025 10:12:12 -0500 Subject: [PATCH] Bug 26258: (follow-up) Fix t/db_dependent/selenium/basic_workflow.t --- t/db_dependent/selenium/basic_workflow.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/selenium/basic_workflow.t b/t/db_dependent/selenium/basic_workflow.t index ecce4e82f48..d0a004ea89c 100755 --- a/t/db_dependent/selenium/basic_workflow.t +++ b/t/db_dependent/selenium/basic_workflow.t @@ -262,8 +262,9 @@ SKIP: { $nb_of_checkouts++; like( $driver->get_title(), qr(Checking out to $sample_data->{patron}{surname}) ); like( - $driver->find_element('//a[@href="#checkouts_panel"]')->get_attribute('text'), - qr/Checkouts \($nb_of_checkouts\)/ + $driver->find_element('//a[@href="#checkouts_panel"]/span[@class="checkout_count badge text-bg-info"]') + ->get_text(), + qr($nb_of_checkouts) ); } -- 2.39.5