mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
relax timing on accept alert test
This commit is contained in:
parent
de542cc2d5
commit
f2a8ee3ef0
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ Capybara::SpecHelper.spec '#accept_alert', requires: [:modals] do
|
|||
@session.click_link('Alert page change')
|
||||
sleep 1 # ensure page change occurs before the accept_alert block exits
|
||||
end
|
||||
expect(@session).to have_current_path('/with_html')
|
||||
expect(@session).to have_current_path('/with_html', wait: 5)
|
||||
end
|
||||
|
||||
context 'with an asynchronous alert' do
|
||||
|
|
Loading…
Reference in a new issue