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:
parent
d5caddda74
commit
ca09f14498
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue