diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-02-22 15:32:45 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-02-23 15:29:55 -0500 |
commit | 78bf02e93dfece32767b49737f3dd1a40afb70af (patch) | |
tree | 7c0fbee711b4590978a1f1b409a6999ee7217084 /features | |
parent | a3713050f712c4bb80b496186e8499a4fc879d5e (diff) | |
download | gitlab-ce-78bf02e93dfece32767b49737f3dd1a40afb70af.tar.gz |
Set window_size to 1366*768
Diffstat (limited to 'features')
-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 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 |