diff options
author | Phil Hughes <me@iamphill.com> | 2018-10-23 18:19:27 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-10-23 18:19:27 +0000 |
commit | 742f8d64547c3e922afd8cb9bd2e5e64ae155924 (patch) | |
tree | 0cf189c837606c7d0212a01da21779a69c56656d /spec | |
parent | 11a57e4f29d353612dd1422583bceb365000fe50 (diff) | |
parent | 20d3c6eba73a0170bc1ab53afb5a198879ed156a (diff) | |
download | gitlab-ce-742f8d64547c3e922afd8cb9bd2e5e64ae155924.tar.gz |
Merge branch '53013-duplicate-escape' into 'master'
Removes duplicate escape from job item
Closes #53013
See merge request gitlab-org/gitlab-ce!22536
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/projects/jobs_spec.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/features/projects/jobs_spec.rb b/spec/features/projects/jobs_spec.rb index 1ea8a640e17..c3902ecdd17 100644 --- a/spec/features/projects/jobs_spec.rb +++ b/spec/features/projects/jobs_spec.rb @@ -151,9 +151,8 @@ describe 'Jobs', :clean_gitlab_redis_shared_state do end it 'renders escaped tooltip name' do - page.within('aside.right-sidebar') do - expect(find('.active.build-job a')['data-original-title']).to eq('<img src=x onerror=alert(document.domain)> - passed') - end + page.find('.active.build-job a').hover + expect(page).to have_content('<img src=x onerror=alert(document.domain)> - passed') end end |