Commit 12e6cb71 authored by Stan Hu's avatar Stan Hu

Fix pipelines spec by surrounding click with accept_confirm

parent b03fe23d
......@@ -103,7 +103,7 @@ describe 'Pipelines', :js do
context 'when canceling' do
before do
find('.js-pipelines-cancel-button').click
accept_confirm { find('.js-pipelines-cancel-button').click }
wait_for_requests
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment