mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-01 06:41:41 +00:00
Few changes in test files for date(time)picker in order to make tests more readable
This commit is contained in:
@@ -161,7 +161,7 @@ describe '
|
||||
within(".flatpickr-calendar.open") do
|
||||
expect(page).to have_selector '.shortcut-buttons-flatpickr-buttons'
|
||||
select_datetime_from_datepicker test_value
|
||||
find(".shortcut-buttons-flatpickr-buttons > button:nth-last-child(1)").click
|
||||
find("button", text: "CLOSE").click
|
||||
end
|
||||
|
||||
# Should no more have opened flatpickr
|
||||
|
||||
Reference in New Issue
Block a user