diff options
author | Stan Hu <stanhu@gmail.com> | 2017-08-11 22:01:00 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-08-11 22:01:00 -0700 |
commit | a5e096ceaa468ba3f3ff3b70369e2b16d76e55e9 (patch) | |
tree | d82da485fc9abf16180de06668153c26eaab7ebd /spec/support/capybara.rb | |
parent | 4b5483321a7b1c1d9eb2f473bfded433feb5c64b (diff) | |
download | gitlab-ce-a5e096ceaa468ba3f3ff3b70369e2b16d76e55e9.tar.gz |
Expand Chrome window size to make specs pass
Diffstat (limited to 'spec/support/capybara.rb')
-rw-r--r-- | spec/support/capybara.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/capybara.rb b/spec/support/capybara.rb index 53a90cdb26f..693de9a3118 100644 --- a/spec/support/capybara.rb +++ b/spec/support/capybara.rb @@ -11,7 +11,7 @@ Capybara.javascript_driver = :chrome Capybara.register_driver :chrome do |app| capabilities = Selenium::WebDriver::Remote::Capabilities.chrome( 'chromeOptions' => { - 'args' => %w[headless no-sandbox disable-gpu] + 'args' => %w[headless no-sandbox disable-gpu --window-size=1240,1400] } ) |