Skip to content

Commit

Permalink
Merge pull request #2075 from samvera/skip-taking-page-snapshot-in-ci
Browse files Browse the repository at this point in the history
Skip taking a picture on failure
  • Loading branch information
jeremyf authored Dec 19, 2023
2 parents 9e098a8 + 0daf9f0 commit d122f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@

config.after(:each, type: :feature) do |example|
# rubocop:disable Lint/Debugger
save_and_open_page if example.exception.present?
save_and_open_page if example.exception.present? && !ENV['CI']
# rubocop:enable Lint/Debugger
Warden.test_reset!
Capybara.reset_sessions!
Expand Down

0 comments on commit d122f12

Please sign in to comment.