summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-10-03 17:46:40 +0900
committerShinya Maeda <shinya@gitlab.com>2018-10-03 17:46:40 +0900
commit980c0e19d7c78cfe071620aac5a28a868d05f9f6 (patch)
treee9aa26d3f947fb1ef461d680afe59779c750d733
parent9621bbb94cde3d33fce3c2c25fb98748f7a1824a (diff)
downloadgitlab-ce-980c0e19d7c78cfe071620aac5a28a868d05f9f6.tar.gz
Fix pipeline spec
-rw-r--r--spec/features/projects/pipelines/pipeline_spec.rb4
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