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>
This commit is contained in:
Nick Clemens 2023-03-13 14:39:03 +00:00 committed by Martin Renvoize
parent d90747fb09
commit 730f4e1500
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

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