diff options
Diffstat (limited to 'spec/features/groups/merge_requests_spec.rb')
-rw-r--r-- | spec/features/groups/merge_requests_spec.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/features/groups/merge_requests_spec.rb b/spec/features/groups/merge_requests_spec.rb index bbb7d322b9a..0a830e6715c 100644 --- a/spec/features/groups/merge_requests_spec.rb +++ b/spec/features/groups/merge_requests_spec.rb @@ -26,8 +26,10 @@ RSpec.describe 'Group merge requests page', feature_category: :code_review_workf expect(page).not_to have_content(issuable_archived.title) end - it 'ignores archived merge request count badges in navbar' do - expect(first(:link, text: 'Merge requests').find('.badge').text).to eq("1") + it 'ignores archived merge request count badges in navbar', :js do + within_testid('super-sidebar') do + expect(find_link(text: 'Merge requests').find('.badge').text).to eq("1") + end end it 'ignores archived merge request count badges in state-filters' do |