From 2c4acb0bf78cd286c4e876970961a8fdc829290e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sat, 16 May 2020 14:32:48 +0200 Subject: [PATCH] Use chromedriver 2.38 The latest stable version is causing problems on some machines, hanging forever in tests involving frames. So we're installing an old version which works with the latest Chrome. Note this means we're using an unsupported version. Officially, only the latest chromedriver supports the latest Chrome. We're using 2.38 instead of a more recent one (like 2.40) because it's the one we specified in our Dockerfile. See also: https://bugs.chromium.org/p/chromedriver/issues/detail?id=3361 --- spec/rails_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index 3de8fd85d..28abc03d9 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -53,5 +53,6 @@ Capybara.register_driver :headless_chrome do |app| end Capybara.exact = true +Webdrivers::Chromedriver.required_version = "2.38" OmniAuth.config.test_mode = true