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
This commit is contained in:
Javi Martín
2020-05-16 14:32:48 +02:00
parent 59b625a5f9
commit 2c4acb0bf7

View File

@@ -53,5 +53,6 @@ Capybara.register_driver :headless_chrome do |app|
end end
Capybara.exact = true Capybara.exact = true
Webdrivers::Chromedriver.required_version = "2.38"
OmniAuth.config.test_mode = true OmniAuth.config.test_mode = true