diff options
Diffstat (limited to 'spec/features/groups/merge_requests_spec.rb')
-rw-r--r-- | spec/features/groups/merge_requests_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/groups/merge_requests_spec.rb b/spec/features/groups/merge_requests_spec.rb index 0a830e6715c..84a6bc96df0 100644 --- a/spec/features/groups/merge_requests_spec.rb +++ b/spec/features/groups/merge_requests_spec.rb @@ -81,7 +81,7 @@ RSpec.describe 'Group merge requests page', feature_category: :code_review_workf it 'shows projects only with merge requests feature enabled', :js do click_button 'Select project to create merge request' - page.within('[data-testid="new-resource-dropdown"]') do + within_testid('new-resource-dropdown') do expect(page).to have_content(project.name_with_namespace) expect(page).not_to have_content(project_with_merge_requests_disabled.name_with_namespace) end |