Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

where to put capybara default wait time

# spec_helper.rb
# use default_max_wait_time, default_wait_time is deprecated
Capybara.default_max_wait_time = 5

# the feature test will wait up to 5 seconds
expect(page).to have_no_selector(:css, "p a#doesnotexist")
Source by blog.tomoyukikashiro.me #
 
PREVIOUS NEXT
Tagged: #put #capybara #default #wait #time
ADD COMMENT
Topic
Name
3+3 =