From c0435b905659cfd84d5436b1153f9b55025ca906 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 (cherry picked from commit 587615fd9f63e74fdb42f7832845fe52e3f17a74) Signed-off-by: Martin Renvoize (cherry picked from commit 730f4e1500ad88e21f377b2b79a15879caf534bd) Signed-off-by: Lucas Gass (cherry picked from commit f702d225e3617bc21002d09e7646c548e8a2a4b9) Signed-off-by: Arthur Suzuki --- 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 a4cfc1b577..41e075ee79 100755 --- a/t/db_dependent/selenium/basic_workflow.t +++ b/t/db_dependent/selenium/basic_workflow.t @@ -202,7 +202,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_d| # dateaccessioned -- 2.39.5