Skip to content

Commit

Permalink
Pin Chromedriver to the last version that was released in the old way…
Browse files Browse the repository at this point in the history
… compatible
  • Loading branch information
Klaus Zanders committed Jul 20, 2023
1 parent 1e55da4 commit 10a488e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
# Raises error for missing translations
# config.action_view.raise_on_missing_translations = true

config.cache_store = :file_store, Rails.root.join("tmp", "cache", "paralleltests#{ENV['TEST_ENV_NUMBER']}")
config.cache_store = :file_store, Rails.root.join("tmp", "cache", "paralleltests#{ENV.fetch('TEST_ENV_NUMBER', nil)}")

if ENV['TEST_ENV_NUMBER']
assets_cache_path = Rails.root.join("tmp/cache/assets/paralleltests#{ENV['TEST_ENV_NUMBER']}")
Expand All @@ -96,4 +96,8 @@

# Speed up tests by lowering BCrypt's cost function
BCrypt::Engine.cost = BCrypt::Engine::MIN_COST

# Pin Chromedriver version to last version that was released the "old way"
# See https://github.com/titusfortner/webdrivers/issues/247
Webdrivers::Chromedriver.required_version = "114.0.5735.90"
end

0 comments on commit 10a488e

Please sign in to comment.