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
9c7dd9fd
Commit
9c7dd9fd
authored
Apr 09, 2020
by
Sanad Liaquat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable admin nav feature flag in SAML SSO specs
parent
e86e63fa
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
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
-2
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_saml_group_managed_accounts_spec.rb
.../1_manage/group/group_saml_group_managed_accounts_spec.rb
+2
-2
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_saml_non_enforced_sso_spec.rb
...ser_ui/1_manage/group/group_saml_non_enforced_sso_spec.rb
+4
-0
No files found.
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_saml_enforced_sso_spec.rb
View file @
9c7dd9fd
...
@@ -51,7 +51,7 @@ module QA
...
@@ -51,7 +51,7 @@ module QA
after
do
after
do
page
.
visit
Runtime
::
Scenario
.
gitlab_address
page
.
visit
Runtime
::
Scenario
.
gitlab_address
%w[enforced_sso enforced_sso_requires_session]
.
each
do
|
flag
|
%w[enforced_sso enforced_sso_requires_session
group_administration_nav_item
]
.
each
do
|
flag
|
Runtime
::
Feature
.
remove
(
flag
)
Runtime
::
Feature
.
remove
(
flag
)
end
end
...
@@ -64,7 +64,7 @@ module QA
...
@@ -64,7 +64,7 @@ module QA
end
end
def
setup_and_enable_enforce_sso
def
setup_and_enable_enforce_sso
%w[enforced_sso enforced_sso_requires_session]
.
each
do
|
flag
|
%w[enforced_sso enforced_sso_requires_session
group_administration_nav_item
]
.
each
do
|
flag
|
Runtime
::
Feature
.
enable_and_verify
(
flag
)
Runtime
::
Feature
.
enable_and_verify
(
flag
)
end
end
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_saml_group_managed_accounts_spec.rb
View file @
9c7dd9fd
...
@@ -85,7 +85,7 @@ module QA
...
@@ -85,7 +85,7 @@ module QA
after
(
:all
)
do
after
(
:all
)
do
page
.
visit
Runtime
::
Scenario
.
gitlab_address
page
.
visit
Runtime
::
Scenario
.
gitlab_address
%w[enforced_sso enforced_sso_requires_session group_managed_accounts sign_up_on_sso group_scim]
.
each
do
|
flag
|
%w[enforced_sso enforced_sso_requires_session group_managed_accounts sign_up_on_sso group_scim
group_administration_nav_item
]
.
each
do
|
flag
|
Runtime
::
Feature
.
remove
(
flag
)
Runtime
::
Feature
.
remove
(
flag
)
end
end
...
@@ -119,7 +119,7 @@ module QA
...
@@ -119,7 +119,7 @@ module QA
end
end
def
setup_and_enable_group_managed_accounts
def
setup_and_enable_group_managed_accounts
%w[enforced_sso enforced_sso_requires_session group_managed_accounts sign_up_on_sso group_scim]
.
each
do
|
flag
|
%w[enforced_sso enforced_sso_requires_session group_managed_accounts sign_up_on_sso group_scim
group_administration_nav_item
]
.
each
do
|
flag
|
Runtime
::
Feature
.
enable_and_verify
(
flag
)
Runtime
::
Feature
.
enable_and_verify
(
flag
)
end
end
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_saml_non_enforced_sso_spec.rb
View file @
9c7dd9fd
...
@@ -10,6 +10,8 @@ module QA
...
@@ -10,6 +10,8 @@ module QA
sandbox_group
.
path
=
"saml_sso_group_
#{
SecureRandom
.
hex
(
8
)
}
"
sandbox_group
.
path
=
"saml_sso_group_
#{
SecureRandom
.
hex
(
8
)
}
"
end
end
Runtime
::
Feature
.
enable_and_verify
(
'group_administration_nav_item'
)
@saml_idp_service
=
Flow
::
Saml
.
run_saml_idp_service
(
@group
.
path
)
@saml_idp_service
=
Flow
::
Saml
.
run_saml_idp_service
(
@group
.
path
)
end
end
...
@@ -73,6 +75,8 @@ module QA
...
@@ -73,6 +75,8 @@ module QA
after
(
:all
)
do
after
(
:all
)
do
@group
.
remove_via_api!
@group
.
remove_via_api!
Runtime
::
Feature
.
remove
(
'group_administration_nav_item'
)
page
.
visit
Runtime
::
Scenario
.
gitlab_address
page
.
visit
Runtime
::
Scenario
.
gitlab_address
Page
::
Main
::
Menu
.
perform
(
&
:sign_out_if_signed_in
)
Page
::
Main
::
Menu
.
perform
(
&
:sign_out_if_signed_in
)
...
...
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