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

Try again

This commit is contained in:
Thomas Walpole 2020-07-05 23:05:54 -07:00
parent 4a77bc3195
commit a8a59e97c9

View file

@ -25,8 +25,7 @@ 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')
sleep 2
expect do
@session.refresh
sleep 2