Skip to content

Commit

Permalink
Expand test
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-nerdgeschoss committed Feb 2, 2024
1 parent 96ec801 commit 1b3cdb1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/system/leaves_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
expect(page).not_to have_content "Heads up: Some of the selected days are in the past."

within ".modal" do
find(".flatpickr-day.today").click

expect(page).not_to have_content "Heads up: Some of the selected days are in the past."

find(".flatpickr-prev-month").click
first(".dayContainer .flatpickr-day").click
end
Expand Down

0 comments on commit 1b3cdb1

Please sign in to comment.