Skip to content

Commit 9470a90

Browse files
committed
See if setting the capybara default_max_wait_time to 5 seconds helps at all
1 parent 0fe4bd3 commit 9470a90

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/support/capybara.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
require "capybara-screenshot/rspec"
44
require "selenium/webdriver"
55

6+
Capybara.default_max_wait_time = ENV.fetch("CAPYBARA_WAIT_TIME", "5").to_i
7+
68
# not used unless you swap it out for selenium_chrome_headless_in_container to watch tests running in docker
79
Capybara.register_driver :selenium_chrome_in_container do |app|
810
Capybara::Selenium::Driver.new app,

0 commit comments

Comments
 (0)