Commit af2bc548 authored by Peter Leitzen's avatar Peter Leitzen

Merge branch 'user-post-diff-notes' into 'master'

Remove duplicate spec in user post diff notes

See merge request gitlab-org/gitlab!28859
parents 669d3c3f 4774c72f
......@@ -380,8 +380,3 @@ Performance/ChainArrayAllocation:
- 'lib/gitlab/import_export/**/*'
- 'ee/lib/gitlab/import_export/**/*'
- 'ee/lib/ee/gitlab/import_export/**/*'
# https://gitlab.com/gitlab-org/gitlab/-/issues/212541
RSpec/RepeatedExample:
Exclude:
- 'spec/features/merge_request/user_posts_diff_notes_spec.rb'
---
title: Fix duplicate spec in user post diff notes
merge_request: 28859
author: Rajendra Kadam
type: added
......@@ -66,12 +66,7 @@ describe 'Merge request > User posts diff notes', :js do
end
context 'with a match line' do
it 'does not allow commenting on the left side' do
line_holder = find('.match', match: :first).find(:xpath, '..')
match_should_not_allow_commenting(line_holder)
end
it 'does not allow commenting on the right side' do
it 'does not allow commenting' do
line_holder = find('.match', match: :first).find(:xpath, '..')
match_should_not_allow_commenting(line_holder)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment