diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-10-03 17:46:40 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-10-03 17:46:40 +0900 |
commit | 980c0e19d7c78cfe071620aac5a28a868d05f9f6 (patch) | |
tree | e9aa26d3f947fb1ef461d680afe59779c750d733 | |
parent | 9621bbb94cde3d33fce3c2c25fb98748f7a1824a (diff) | |
download | gitlab-ce-980c0e19d7c78cfe071620aac5a28a868d05f9f6.tar.gz |
Fix pipeline spec
-rw-r--r-- | spec/features/projects/pipelines/pipeline_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/features/projects/pipelines/pipeline_spec.rb b/spec/features/projects/pipelines/pipeline_spec.rb index b728f4c00f2..e6cb137b023 100644 --- a/spec/features/projects/pipelines/pipeline_spec.rb +++ b/spec/features/projects/pipelines/pipeline_spec.rb @@ -87,7 +87,9 @@ describe 'Pipeline', :js do it 'should be possible to cancel the running build' do find('#ci-badge-deploy .ci-action-icon-container').click - expect(page).not_to have_content('Cancel running') + page.within('#ci-badge-deploy') do + expect(page).to have_css('.js-icon-retry') + end end end |