From 8b97be3671732c68bc5d3b720f1b4e48dd73377d Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 7 Oct 2019 14:05:17 +0100 Subject: [PATCH] Bug 23039: (RM follow-up) Fix basic_workflow test This bug altered the markup of the returns page subtly, introducing a new div level and as such changing the required xpath expression for the checkin submission button in the basic_workflow tests. 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 e46fe887bd..5f785d21df 100644 --- a/t/db_dependent/selenium/basic_workflow.t +++ b/t/db_dependent/selenium/basic_workflow.t @@ -218,7 +218,7 @@ SKIP: { for my $biblionumber ( @biblionumbers ) { $driver->get($base_url."/circ/returns.pl"); $driver->find_element('//input[@id="barcode"]')->send_keys('t_value_bib'.$biblionumber); - $driver->find_element('//*[@id="circ_returns_checkin"]/div[1]/div[1]/div[2]/button')->click; + $driver->find_element('//*[@id="circ_returns_checkin"]/div[2]/div[1]/div[2]/button')->click; like( $driver->get_title(), qr(Check in test biblio \d+) ); } -- 2.20.1