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 <tomascohen@theke.io>
(cherry picked from commit 587615fd9f)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 730f4e1500)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2023-03-13 14:39:03 +00:00 committed by Lucas Gass
parent 27e430325e
commit f702d225e3
1 changed files with 1 additions and 1 deletions

View File

@ -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