Permalink
Browse files

adjustable wait time env variable

  • Loading branch information...
1 parent c955373 commit 98deaa405c427d8f8e50c8b50d8d6164b592e6b9 @gvarela gvarela committed May 30, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 .travis.yml
  2. +1 −1 features/support/env.rb
View
@@ -7,7 +7,7 @@ before_script:
- bundle exec rake db:migrate
- 'sh -e /etc/init.d/xvfb start'
env:
- - DISPLAY=':99.0' CUCUMBER_OPTS='-f progress'
+ - DISPLAY=':99.0' CUCUMBER_OPTS='-f progress' CI_WAIT_TIME=10
script: bundle exec rake --trace
notifications:
email:
View
@@ -18,7 +18,7 @@
# steps to use the XPath syntax.
Capybara.default_selector = :css
-Capybara.default_wait_time = 8
+Capybara.default_wait_time = ENV['CI_WAIT_TIME'].try(:to_i) || 4
# By default, any exception happening in your Rails application will bubble up
# to Cucumber so that your scenario will fail. This is a different from how

0 comments on commit 98deaa4

Please sign in to comment.