Commit e3461eac authored by Mark Lapierre's avatar Mark Lapierre

Merge branch '341016-code-owners-qa-tests' into 'master'

Update qa specs for code owners

See merge request gitlab-org/gitlab!76258
parents 323c8846 5181b483
...@@ -70,6 +70,25 @@ module QA ...@@ -70,6 +70,25 @@ module QA
expect(page).to have_content(@user2.name) expect(page).to have_content(@user2.name)
expect(page).not_to have_content(@user.name) expect(page).not_to have_content(@user.name)
# Check the files and code owners when refactor_blob_viewer is enabled
Runtime::Feature.enable(:refactor_blob_viewer, project: @project)
@project.visit!
Page::Project::Show.perform do |project_page|
project_page.click_file 'file.txt'
end
expect(page).to have_content(@user.name)
expect(page).not_to have_content(@user2.name)
@project.visit!
Page::Project::Show.perform do |project_page|
project_page.click_file 'README.md'
end
expect(page).to have_content(@user2.name)
expect(page).not_to have_content(@user.name)
end end
end end
end 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