diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-10-10 14:20:51 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-10-10 14:20:51 -0500 |
commit | 9aed01f0e9422eeb010f991f75f53849be500e6e (patch) | |
tree | 632f8a1f6de5b41e82dde064b61469971143c5f5 /spec/features/projects | |
parent | 31c8fb987d656fed83b617092e79a42d9dd02590 (diff) | |
download | gitlab-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.rb | 2 |
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 |