Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-08-12 08:01:00 +0300
committerStan Hu <stanhu@gmail.com>2017-08-12 08:01:00 +0300
commita5e096ceaa468ba3f3ff3b70369e2b16d76e55e9 (patch)
treed82da485fc9abf16180de06668153c26eaab7ebd /spec/support/capybara.rb
parent4b5483321a7b1c1d9eb2f473bfded433feb5c64b (diff)
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]
}
)