diff options
author | Stan Hu <stanhu@gmail.com> | 2017-08-12 22:34:01 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-08-12 22:34:01 -0700 |
commit | ad73d24235ef22f9012b30be9d9492b11b46ca58 (patch) | |
tree | 973a5ac0dc071200ae8aad877674e8aea7c049f4 /features/support/capybara.rb | |
parent | 2901fc1390370a38944cd2c1ea88bf0fd3839a5a (diff) | |
download | gitlab-ce-ad73d24235ef22f9012b30be9d9492b11b46ca58.tar.gz |
Bump selenium-webdriver to 3.5.0 to make Capybara work properly
Diffstat (limited to 'features/support/capybara.rb')
-rw-r--r-- | features/support/capybara.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/support/capybara.rb b/features/support/capybara.rb index 20abb504dc6..8628a38eaac 100644 --- a/features/support/capybara.rb +++ b/features/support/capybara.rb @@ -6,7 +6,7 @@ timeout = (ENV['CI'] || ENV['CI_SERVER']) ? 60 : 30 Capybara.javascript_driver = :chrome Capybara.register_driver :chrome do |app| capabilities = Selenium::WebDriver::Remote::Capabilities.chrome( - 'chromeOptions' => { + chromeOptions: { 'args' => %w[headless no-sandbox disable-gpu --window-size=1240,1400] } ) |