diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2018-10-02 20:17:08 -0300 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2018-11-22 03:53:46 +0100 |
commit | 84ce9b2edb420479c8b69c4e6ff4881303087fa5 (patch) | |
tree | 348b289507b22127f2db651c10bf2273077705ec /spec/support/capybara.rb | |
parent | 11c6596c057b675a846ff6eeff46c12f49372180 (diff) | |
download | gitlab-ce-84ce9b2edb420479c8b69c4e6ff4881303087fa5.tar.gz |
Update Test related gemsupdate-test-gems
Upgrade to latest version the following gems:
* capybara
* capybara-screenshot
* selenium-webdriver
Updated specs to fix inconsistencies with capybara 3.x
Diffstat (limited to 'spec/support/capybara.rb')
-rw-r--r-- | spec/support/capybara.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/capybara.rb b/spec/support/capybara.rb index 18a7a392c12..fe2483e0567 100644 --- a/spec/support/capybara.rb +++ b/spec/support/capybara.rb @@ -51,6 +51,8 @@ end Capybara.javascript_driver = :chrome Capybara.default_max_wait_time = timeout Capybara.ignore_hidden_elements = true +Capybara.server = :webrick +Capybara.default_normalize_ws = true # Keep only the screenshots generated from the last failing test suite Capybara::Screenshot.prune_strategy = :keep_last_run |