diff --git a/t/db_dependent/selenium/basic_workflow.t b/t/db_dependent/selenium/basic_workflow.t index fc6ab44d4f..d8a181d15a 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");