1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Adjust test waiting time

This commit is contained in:
Thomas Walpole 2018-11-28 13:38:03 -08:00
parent d5caddda74
commit ca09f14498

View file

@ -5,10 +5,12 @@ Capybara::SpecHelper.spec '#click_button' do
@session.visit('/form')
end
it 'should wait for asynchronous load', requires: [:js] do
it 'should wait for asynchronous load', :focus_, requires: [:js] do
@session.visit('/with_js')
@session.click_link('Click me')
@session.click_button('New Here')
@session.using_wait_time(1.5) do
@session.click_link('Click me')
@session.click_button('New Here')
end
end
it 'casts to string' do