summaryrefslogtreecommitdiff
path: root/spec/features/projects
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-10-10 14:20:51 -0500
committerMike Greiling <mike@pixelcog.com>2017-10-10 14:20:51 -0500
commit9aed01f0e9422eeb010f991f75f53849be500e6e (patch)
tree632f8a1f6de5b41e82dde064b61469971143c5f5 /spec/features/projects
parent31c8fb987d656fed83b617092e79a42d9dd02590 (diff)
downloadgitlab-ce-9aed01f0e9422eeb010f991f75f53849be500e6e.tar.gz
accept confirm dialog when cancelling a pipeline
Diffstat (limited to 'spec/features/projects')
-rw-r--r--spec/features/projects/pipelines/pipelines_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/pipelines/pipelines_spec.rb b/spec/features/projects/pipelines/pipelines_spec.rb
index ddf4678de9d..be8ff727a43 100644
--- a/spec/features/projects/pipelines/pipelines_spec.rb
+++ b/spec/features/projects/pipelines/pipelines_spec.rb
@@ -232,7 +232,7 @@ describe 'Pipelines', :js do
context 'when canceling' do
before do
- find('.js-pipelines-cancel-button').click
+ accept_alert { find('.js-pipelines-cancel-button').click }
end
it 'indicates that pipeline was canceled' do