Fix pipelines spec by surrounding click with accept_confirm
This commit is contained in:
parent
b03fe23d53
commit
12e6cb71c6
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ describe 'Pipelines', :js do
|
||||||
|
|
||||||
context 'when canceling' do
|
context 'when canceling' do
|
||||||
before do
|
before do
|
||||||
find('.js-pipelines-cancel-button').click
|
accept_confirm { find('.js-pipelines-cancel-button').click }
|
||||||
wait_for_requests
|
wait_for_requests
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue