Commit 4774c72f authored by Rajendra Kadam's avatar Rajendra Kadam Committed by Peter Leitzen

Remove duplicate spec in user post diff notes

parent 8d6978c9
......@@ -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