Skip to content

Commit

Permalink
Skip taking a picture on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyf committed Dec 19, 2023
1 parent 9e098a8 commit 0daf9f0
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 0daf9f0

Please sign in to comment.