summaryrefslogtreecommitdiff
path: root/spec/support/capybara.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-08-11 22:01:00 -0700
committerStan Hu <stanhu@gmail.com>2017-08-11 22:01:00 -0700
commita5e096ceaa468ba3f3ff3b70369e2b16d76e55e9 (patch)
treed82da485fc9abf16180de06668153c26eaab7ebd /spec/support/capybara.rb
parent4b5483321a7b1c1d9eb2f473bfded433feb5c64b (diff)
downloadgitlab-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.rb2
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]
}
)