add accept_confirm when attempting to stop an environment in widget_deployments_spec.rb
This commit is contained in:
parent
2fbbf45ea6
commit
5a0e41a58a
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ feature 'Widget Deployments Header', :js do
|
||||||
end
|
end
|
||||||
|
|
||||||
scenario 'does start build when stop button clicked' do
|
scenario 'does start build when stop button clicked' do
|
||||||
click_button('Stop environment')
|
accept_confirm { click_button('Stop environment') }
|
||||||
|
|
||||||
expect(page).to have_content('close_app')
|
expect(page).to have_content('close_app')
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue