From b171c1645ae08321c2747d1059bf15fd02f84935 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 2 Jul 2019 17:08:10 +0100 Subject: [PATCH] Bug 20959: (RM follow-up) Fix selenium test The basic_workflow test started to fail with this bug as the xpath for the checking button changed. I have updated the test to reflect the change. 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 b7a55d11eb..e46fe887bd 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('//form[@id="checkin-form"]/div/fieldset/input[@type="submit"]')->click; + $driver->find_element('//*[@id="circ_returns_checkin"]/div[1]/div[1]/div[2]/button')->click; like( $driver->get_title(), qr(Check in test biblio \d+) ); } -- 2.39.5