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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
7983c798
Commit
7983c798
authored
Oct 24, 2018
by
Sanad Liaquat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed to ldap_no_ssl and ldap_ssl
parent
38a6ecbe
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
18 additions
and
10 deletions
+18
-10
qa/qa.rb
qa/qa.rb
+1
-1
qa/qa/scenario/test/integration/ldap_no_ssl.rb
qa/qa/scenario/test/integration/ldap_no_ssl.rb
+2
-2
qa/qa/specs/features/browser_ui/1_manage/login/log_into_gitlab_via_ldap_spec.rb
...rowser_ui/1_manage/login/log_into_gitlab_via_ldap_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/1_manage/login/register_spec.rb
...specs/features/browser_ui/1_manage/login/register_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/repository/clone_spec.rb
...ecs/features/browser_ui/3_create/repository/clone_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/repository/push_over_http_spec.rb
...res/browser_ui/3_create/repository/push_over_http_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/repository/push_protected_branch_spec.rb
...wser_ui/3_create/repository/push_protected_branch_spec.rb
+1
-1
qa/spec/scenario/test/integration/ldap_spec.rb
qa/spec/scenario/test/integration/ldap_spec.rb
+10
-2
No files found.
qa/qa.rb
View file @
7983c798
...
...
@@ -100,7 +100,7 @@ module QA
module
Integration
autoload
:Github
,
'qa/scenario/test/integration/github'
autoload
:LDAP
,
'qa/scenario/test/integration/ldap
'
autoload
:LDAP
NoSSL
,
'qa/scenario/test/integration/ldap_no_ssl
'
autoload
:LDAPSSL
,
'qa/scenario/test/integration/ldap_ssl'
autoload
:InstanceSAML
,
'qa/scenario/test/integration/instance_saml'
autoload
:Kubernetes
,
'qa/scenario/test/integration/kubernetes'
...
...
qa/qa/scenario/test/integration/ldap.rb
→
qa/qa/scenario/test/integration/ldap
_no_ssl
.rb
View file @
7983c798
...
...
@@ -2,8 +2,8 @@ module QA
module
Scenario
module
Test
module
Integration
class
LDAP
<
Test
::
Instance
::
All
tags
:ldap
class
LDAP
NoSSL
<
Test
::
Instance
::
All
tags
:ldap
_no_ssl
end
end
end
...
...
qa/qa/specs/features/browser_ui/1_manage/login/log_into_gitlab_via_ldap_spec.rb
View file @
7983c798
# frozen_string_literal: true
module
QA
context
'Manage'
,
:orchestrated
,
:ldap
,
:ldap_ssl
do
context
'Manage'
,
:orchestrated
,
:ldap
_no_ssl
,
:ldap_ssl
do
describe
'LDAP login'
do
it
'user logs into GitLab using LDAP credentials'
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
...
...
qa/qa/specs/features/browser_ui/1_manage/login/register_spec.rb
View file @
7983c798
...
...
@@ -22,7 +22,7 @@ module QA
end
end
context
'Manage'
,
:orchestrated
,
:ldap
,
:skip_signup_disabled
do
context
'Manage'
,
:orchestrated
,
:ldap
_no_ssl
,
:skip_signup_disabled
do
describe
'while LDAP is enabled'
do
it_behaves_like
'registration and login'
end
...
...
qa/qa/specs/features/browser_ui/3_create/repository/clone_spec.rb
View file @
7983c798
...
...
@@ -2,7 +2,7 @@
module
QA
context
'Create'
do
describe
'Git clone over HTTP'
,
:ldap
do
describe
'Git clone over HTTP'
,
:ldap
_no_ssl
do
let
(
:location
)
do
Page
::
Project
::
Show
.
act
do
choose_repository_clone_http
...
...
qa/qa/specs/features/browser_ui/3_create/repository/push_over_http_spec.rb
View file @
7983c798
...
...
@@ -2,7 +2,7 @@
module
QA
context
'Create'
do
describe
'Git push over HTTP'
,
:ldap
do
describe
'Git push over HTTP'
,
:ldap
_no_ssl
do
it
'user pushes code to the repository'
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Page
::
Main
::
Login
.
act
{
sign_in_using_credentials
}
...
...
qa/qa/specs/features/browser_ui/3_create/repository/push_protected_branch_spec.rb
View file @
7983c798
...
...
@@ -2,7 +2,7 @@
module
QA
context
'Create'
do
describe
'Protected branch support'
,
:ldap
do
describe
'Protected branch support'
,
:ldap
_no_ssl
do
let
(
:branch_name
)
{
'protected-branch'
}
let
(
:commit_message
)
{
'Protected push commit message'
}
let
(
:project
)
do
...
...
qa/spec/scenario/test/integration/ldap_spec.rb
View file @
7983c798
# frozen_string_literal: true
describe
QA
::
Scenario
::
Test
::
Integration
::
LDAP
do
describe
QA
::
Scenario
::
Test
::
Integration
::
LDAP
NoSSL
do
context
'#perform'
do
it_behaves_like
'a QA scenario class'
do
let
(
:tags
)
{
[
:ldap
]
}
let
(
:tags
)
{
[
:ldap_no_ssl
]
}
end
end
end
describe
QA
::
Scenario
::
Test
::
Integration
::
LDAPSSL
do
context
'#perform'
do
it_behaves_like
'a QA scenario class'
do
let
(
:tags
)
{
[
:ldap_ssl
]
}
end
end
end
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