From 402c8c47a7b89cb2a5d940c1cb4bb3a46bcdd292 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 17 May 2022 08:22:37 +0100 Subject: [PATCH] Bug 30695: (follow-up) Fix selenium test The tab title words were re-ordered and we forgot to update the corresponding selenium test. Signed-off-by: Martin Renvoize --- 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 095c47c954..58d0fa3c85 100755 --- a/t/db_dependent/selenium/basic_workflow.t +++ b/t/db_dependent/selenium/basic_workflow.t @@ -235,7 +235,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'), $nb_of_checkouts.' Checkout(s)', ); + is( $driver->find_element('//a[@href="#checkouts"]')->get_attribute('text'), 'Checkouts ('.$nb_of_checkouts.')' ); } time_diff("checkout"); -- 2.20.1