From 91b352042dbaa20bb51dd57f9c635411671dc223 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 13 Mar 2023 14:39:03 +0000 Subject: [PATCH] Bug 33211: Fix failing test This patch updates the selector to use the full class and find the text type as well --- 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 40434f3a75..fc6ab44d4f 100755 --- a/t/db_dependent/selenium/basic_workflow.t +++ b/t/db_dependent/selenium/basic_workflow.t @@ -204,7 +204,7 @@ SKIP: { $id =~ m|^tag_952_subfield_w| # replacementpricedate ) { $v = strftime("%Y-%m-%d", localtime); - $effective_input = $driver->find_element('//div[@id="subfield952w"]/input[@class="input_marceditor flatpickr-input"]'); + $effective_input = $driver->find_element('//div[@id="subfield952w"]/input[@type="text" and @class="input_marceditor items.replacementpricedate noEnterSubmit flatpickr-input"]'); } elsif ( $id =~ m|^tag_952_subfield_y| # itemtype -- 2.30.2