Merge branch 'rs-lower-capybara-timeout' into 'master'
Decrease Capybara timeout for CI environment Closes #29091 See merge request !9816
This commit is contained in:
commit
2d00567092
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ require 'spinach/capybara'
|
|||
require 'capybara/poltergeist'
|
||||
|
||||
# Give CI some extra time
|
||||
timeout = (ENV['CI'] || ENV['CI_SERVER']) ? 90 : 15
|
||||
timeout = (ENV['CI'] || ENV['CI_SERVER']) ? 30 : 10
|
||||
|
||||
Capybara.javascript_driver = :poltergeist
|
||||
Capybara.register_driver :poltergeist do |app|
|
||||
|
|
|
@ -3,7 +3,7 @@ require 'capybara/rspec'
|
|||
require 'capybara/poltergeist'
|
||||
|
||||
# Give CI some extra time
|
||||
timeout = (ENV['CI'] || ENV['CI_SERVER']) ? 90 : 10
|
||||
timeout = (ENV['CI'] || ENV['CI_SERVER']) ? 30 : 10
|
||||
|
||||
Capybara.javascript_driver = :poltergeist
|
||||
Capybara.register_driver :poltergeist do |app|
|
||||
|
|
Loading…
Reference in a new issue