From 587615fd9f63e74fdb42f7832845fe52e3f17a74 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 Signed-off-by: Tomas Cohen Arazi --- 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 40434f3a752..fc6ab44d4fc 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.34.1