summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorMayra Cabrera <mcabrera@gitlab.com>2019-05-30 18:30:43 +0000
committerMayra Cabrera <mcabrera@gitlab.com>2019-05-30 18:30:43 +0000
commitc18136ae480121576b3b49c46078f46a1ceac9c9 (patch)
treecf31b3dba54aa025f16c324cf3bcc81cd3a96c58 /spec/features
parent13cd5b598c3eba95e02ba33d80d4dc33ed59deb5 (diff)
parent51c35a4ab54e94239a623082d85378549739bea8 (diff)
downloadgitlab-ce-c18136ae480121576b3b49c46078f46a1ceac9c9.tar.gz
Merge branch '609120-ref-link' into 'master'
Fixes ref being displayed as raw HTML Closes #60912 See merge request gitlab-org/gitlab-ce!28823
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/projects/pipelines/pipeline_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/features/projects/pipelines/pipeline_spec.rb b/spec/features/projects/pipelines/pipeline_spec.rb
index a1115b514d3..506aa867490 100644
--- a/spec/features/projects/pipelines/pipeline_spec.rb
+++ b/spec/features/projects/pipelines/pipeline_spec.rb
@@ -328,6 +328,12 @@ describe 'Pipeline', :js do
expect(page).not_to have_link(pipeline.ref)
expect(page).to have_content(pipeline.ref)
end
+
+ it 'does not render render raw HTML to the pipeline ref' do
+ page.within '.pipeline-info' do
+ expect(page).not_to have_content('<span class="ref-name"')
+ end
+ end
end
context 'when pipeline is detached merge request pipeline' do