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