summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-02-22 15:32:45 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-02-23 15:29:55 -0500
commit78bf02e93dfece32767b49737f3dd1a40afb70af (patch)
tree7c0fbee711b4590978a1f1b409a6999ee7217084 /features
parenta3713050f712c4bb80b496186e8499a4fc879d5e (diff)
downloadgitlab-ce-78bf02e93dfece32767b49737f3dd1a40afb70af.tar.gz
Set window_size to 1366*768
Diffstat (limited to 'features')
-rw-r--r--features/support/capybara.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/support/capybara.rb b/features/support/capybara.rb
index 38069ff8835..f33379f76c9 100644
--- a/features/support/capybara.rb
+++ b/features/support/capybara.rb
@@ -6,7 +6,7 @@ timeout = (ENV['CI'] || ENV['CI_SERVER']) ? 90 : 15
Capybara.javascript_driver = :poltergeist
Capybara.register_driver :poltergeist do |app|
- Capybara::Poltergeist::Driver.new(app, js_errors: true, timeout: timeout)
+ Capybara::Poltergeist::Driver.new(app, js_errors: true, timeout: timeout, window_size: [1366, 768])
end
Capybara.default_wait_time = timeout