mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Improve test reliability
This commit is contained in:
parent
8d576fb4ca
commit
4a77bc3195
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@ Capybara::SpecHelper.spec '#refresh' do
|
|||
@session.visit('/form')
|
||||
@session.select('Sweden', from: 'form_region')
|
||||
@session.click_button('awesome')
|
||||
expect(@session).to have_text('Sinatra::IndifferentHash')
|
||||
|
||||
expect do
|
||||
@session.refresh
|
||||
sleep 2
|
||||
|
|
Loading…
Reference in a new issue