Commit cd0a067d authored by peterhegman's avatar peterhegman Committed by wortschi

Add `:requires_admin` tag

So tests can be skipped in environments where admin access is not
available.
parent f2bce6c8
# frozen_string_literal: true
module QA
RSpec.describe 'Manage' do
RSpec.describe 'Manage', :requires_admin do
describe 'Add project member' do
before do
Runtime::Feature.enable('vue_project_members_list')
......
# frozen_string_literal: true
module QA
RSpec.describe 'Plan', :orchestrated, :smtp do
RSpec.describe 'Plan', :orchestrated, :smtp, :requires_admin do
describe 'Email Notification' do
include Support::Api
......
......@@ -100,7 +100,7 @@ module QA
it_behaves_like 'audit event', ['Added user access as Guest', 'Changed access level', 'Removed user access']
end
context 'Add and remove project access', testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/735' do
context 'Add and remove project access', :requires_admin, testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/735' do
before do
Runtime::Feature.enable('vue_project_members_list', project: project)
......
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