Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5fa890fc
Commit
5fa890fc
authored
Feb 23, 2021
by
Sanad Liaquat (Personal)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add requires_admin meta to tests that set feature flag
parent
71080f17
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
7 deletions
+14
-7
qa/qa/specs/features/browser_ui/1_manage/project/protected_tags_spec.rb
...atures/browser_ui/1_manage/project/protected_tags_spec.rb
+2
-1
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_saml_enforced_sso_spec.rb
...browser_ui/1_manage/group/group_saml_enforced_sso_spec.rb
+2
-1
qa/qa/specs/features/ee/browser_ui/1_manage/group/share_group_with_group_spec.rb
.../browser_ui/1_manage/group/share_group_with_group_spec.rb
+2
-1
qa/qa/specs/features/ee/browser_ui/1_manage/project/project_audit_logs_spec.rb
...ee/browser_ui/1_manage/project/project_audit_logs_spec.rb
+2
-1
qa/qa/specs/features/ee/browser_ui/3_create/merge_request/approval_rules_spec.rb
.../browser_ui/3_create/merge_request/approval_rules_spec.rb
+2
-1
qa/qa/specs/features/ee/browser_ui/3_create/repository/assign_code_owners_spec.rb
...browser_ui/3_create/repository/assign_code_owners_spec.rb
+2
-1
qa/qa/specs/features/ee/browser_ui/3_create/repository/push_rules_spec.rb
...ures/ee/browser_ui/3_create/repository/push_rules_spec.rb
+2
-1
No files found.
qa/qa/specs/features/browser_ui/1_manage/project/protected_tags_spec.rb
View file @
5fa890fc
...
...
@@ -2,7 +2,8 @@
module
QA
RSpec
.
describe
'Manage'
do
describe
'Repository tags'
do
# TODO: Remove :requires_admin meta when the `Runtime::Feature.enable` method call is removed
describe
'Repository tags'
,
:requires_admin
do
let
(
:project
)
do
Resource
::
Project
.
fabricate_via_api!
do
|
project
|
project
.
name
=
'project-for-tags'
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_saml_enforced_sso_spec.rb
View file @
5fa890fc
# frozen_string_literal: true
module
QA
RSpec
.
describe
'Manage'
,
:group_saml
,
:orchestrated
do
# TODO: Remove :requires_admin meta when the `Runtime::Feature.enable` method call is removed
RSpec
.
describe
'Manage'
,
:group_saml
,
:orchestrated
,
:requires_admin
do
describe
'Group SAML SSO - Enforced SSO'
do
include
Support
::
Api
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/group/share_group_with_group_spec.rb
View file @
5fa890fc
...
...
@@ -2,7 +2,8 @@
module
QA
RSpec
.
describe
'Manage'
do
describe
'Group with members'
do
# TODO: Remove :requires_admin meta when the `Runtime::Feature.enable` method call is removed
describe
'Group with members'
,
:requires_admin
do
let
(
:admin_api_client
)
{
Runtime
::
API
::
Client
.
as_admin
}
let
(
:source_group_with_members
)
do
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/project/project_audit_logs_spec.rb
View file @
5fa890fc
...
...
@@ -36,7 +36,8 @@ module QA
it_behaves_like
'audit event'
,
[
"Added project"
]
end
context
"Add user access as guest"
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/729'
do
# TODO: Remove :requires_admin meta when the `Runtime::Feature.enable` method call is removed
context
"Add user access as guest"
,
:requires_admin
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/729'
do
before
do
Runtime
::
Feature
.
enable
(
:invite_members_group_modal
)
project
.
visit!
...
...
qa/qa/specs/features/ee/browser_ui/3_create/merge_request/approval_rules_spec.rb
View file @
5fa890fc
...
...
@@ -2,7 +2,8 @@
module
QA
RSpec
.
describe
'Create'
do
describe
'Approval rules'
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/215876'
,
type: :flaky
}
do
# TODO: Remove :requires_admin meta when the `Runtime::Feature.enable` method call is removed
describe
'Approval rules'
,
:requires_admin
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/215876'
,
type: :flaky
}
do
let
(
:approver1
)
{
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_1
,
Runtime
::
Env
.
gitlab_qa_password_1
)
}
let
(
:approver2
)
{
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_2
,
Runtime
::
Env
.
gitlab_qa_password_2
)
}
let
(
:project
)
do
...
...
qa/qa/specs/features/ee/browser_ui/3_create/repository/assign_code_owners_spec.rb
View file @
5fa890fc
...
...
@@ -2,7 +2,8 @@
module
QA
RSpec
.
describe
'Create'
do
describe
'Codeowners'
do
# TODO: Remove :requires_admin meta when the `Runtime::Feature.enable` method call is removed
describe
'Codeowners'
,
:requires_admin
do
# Create one user to be the assigned approver and another user who will not be an approver
let
(
:approver
)
{
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_1
,
Runtime
::
Env
.
gitlab_qa_password_1
)
}
let
(
:non_approver
)
{
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_2
,
Runtime
::
Env
.
gitlab_qa_password_2
)
}
...
...
qa/qa/specs/features/ee/browser_ui/3_create/repository/push_rules_spec.rb
View file @
5fa890fc
...
...
@@ -3,7 +3,8 @@
module
QA
RSpec
.
describe
'Create'
do
context
'Push Rules'
do
describe
'using non signed commits'
do
# TODO: Remove :requires_admin meta when the `Runtime::Feature.enable` method call is removed
describe
'using non signed commits'
,
:requires_admin
do
before
(
:context
)
do
prepare
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment