From 06aca0844b1bbc42a759d0c9900be3ea7fef3a7d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 14 Jun 2017 13:07:41 -0300 Subject: [PATCH] Bug 18804: (bug 16286 follow-up) Update the "save category" elt selector Bug 16286 replaced the submit node: with Signed-off-by: Chris Cormack Signed-off-by: Lee Jamison Signed-off-by: Marcel de Rooy (cherry picked from commit a88f540ec1a0f7e1f876f3811d0e44cb3ff3a612) Signed-off-by: Fridolin Somers --- 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 1494359c3c..a79ac57232 100644 --- a/t/db_dependent/selenium/basic_workflow.t +++ b/t/db_dependent/selenium/basic_workflow.t @@ -77,7 +77,7 @@ SKIP: { $driver->find_element('//a[@id="newcategory"]')->click; like( $driver->get_title(), qr(New category), ); fill_form( $driver, $sample_data->{category} ); - $driver->find_element('//input[@type="button"]')->click; + $driver->find_element('//fieldset[@class="action"]/input[@type="submit"]')->click; time_diff("add patron category"); $driver->get($base_url.'/members/memberentry.pl?op=add&categorycode='.$sample_data->{category}{categorycode}); -- 2.39.5