Suppress Selenium warnings in test log output.

This commit is contained in:
Matt-Yorkley
2020-08-09 14:02:07 +01:00
parent 3a2802f5aa
commit 74252e9d13

View File

@@ -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