Merge pull request #9897 from filipefurtad0/fix_flaky_spec_9805

Wraps expectation on within block
This commit is contained in:
jibees
2022-10-28 10:47:04 +02:00
committed by GitHub

View File

@@ -714,7 +714,9 @@ describe '
input = find(".flatpickr-calendar.open .flatpickr-minute")
input.send_keys datetime.strftime("%M").to_s.strip
input.send_keys :enter
expect(page).to have_content "You have unsaved changes"
within "#save-bar" do
expect(page).to have_content "You have unsaved changes"
end
end
it "deleting an order cycle" do