Skip to content

Commit

Permalink
Fix: pending integration specs on CI sometimes succeed
Browse files Browse the repository at this point in the history
The behavior suddenly changed to regularly succeed and just as equally
fail. Let's skip the tests instead of unexpectedly succeeding which
blocks CI.
  • Loading branch information
ysbaddaden committed Apr 23, 2024
1 parent c31bc51 commit 8b4c7f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/features/deleted_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}

it "should be able to access site" do
pending "always fails on github actions" if ENV["CI"]
skip "sometimes fails on github actions" if ENV["CI"]

click_link site.name

Expand All @@ -35,7 +35,7 @@
end

it "should be able to access device" do
pending "always fails on github actions" if ENV["CI"]
skip "sometimes fails on github actions" if ENV["CI"]

click_link device.name

Expand Down
2 changes: 1 addition & 1 deletion spec/features/patient_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}

it "should display 'Unknown name' in test result and in patient page" do
pending "always fails on github actions" if ENV["CI"]
skip "sometimes fails on github actions" if ENV["CI"]

goto_page TestResultsPage do |page|
page.table.items[6].click
Expand Down

0 comments on commit 8b4c7f8

Please sign in to comment.