Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-10-03 11:46:40 +0300
committerShinya Maeda <shinya@gitlab.com>2018-10-03 11:46:40 +0300
commit980c0e19d7c78cfe071620aac5a28a868d05f9f6 (patch)
treee9aa26d3f947fb1ef461d680afe59779c750d733 /spec/features/projects
parent9621bbb94cde3d33fce3c2c25fb98748f7a1824a (diff)
Fix pipeline spec
Diffstat (limited to 'spec/features/projects')
-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