mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-27 06:05:19 +00:00
Suppress Selenium warnings in test log output.
This commit is contained in:
@@ -181,6 +181,10 @@ RSpec.configure do |config|
|
||||
|
||||
config.include JsonSpec::Helpers
|
||||
|
||||
# Suppress Selenium deprecation warnings. Stops a flood of pointless warnings filling the
|
||||
# test output. We can remove this in the future after upgrading Rails, Rack, and Capybara.
|
||||
Selenium::WebDriver.logger.level = :error
|
||||
|
||||
# Profiling
|
||||
#
|
||||
# This code shouldn't be run in normal circumstances. But if you want to know
|
||||
|
||||
Reference in New Issue
Block a user