From 9f4e9f451bc596a2b0fac0fa9e1cb232804c1f61 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 14 Jun 2023 12:46:45 -0300 Subject: [PATCH] Bug 33528: Fix basic_workflow.t Signed-off-by: Tomas Cohen Arazi --- t/db_dependent/selenium/basic_workflow.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/selenium/basic_workflow.t b/t/db_dependent/selenium/basic_workflow.t index fc6ab44d4fc..d8a181d15a0 100755 --- a/t/db_dependent/selenium/basic_workflow.t +++ b/t/db_dependent/selenium/basic_workflow.t @@ -251,7 +251,7 @@ SKIP: { $driver->find_element('//fieldset[@id="circ_circulation_issue"]/button[@type="submit"]')->click; $nb_of_checkouts++; like( $driver->get_title(), qr(Checking out to $sample_data->{patron}{surname}) ); - is( $driver->find_element('//a[@href="#checkouts"]')->get_attribute('text'), 'Checkouts ('.$nb_of_checkouts.')' ); + like( $driver->find_element('//a[@href="#checkouts_panel"]')->get_attribute('text'), qr/Checkouts \($nb_of_checkouts\)/ ); } time_diff("checkout"); -- 2.34.1