Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
18027b7f3fcf
Commit
4395164e
authored
Feb 06, 2018
by
Stan Hu
Browse files
Address review comments for LDAP QA test
parent
6b1639f6ca68
Changes
3
Hide whitespace changes
Inline
Side-by-side
qa/qa.rb
View file @
18027b7f
...
@@ -64,7 +64,7 @@ module Test
...
@@ -64,7 +64,7 @@ module Test
autoload
:Instance
,
'qa/scenario/test/instance'
autoload
:Instance
,
'qa/scenario/test/instance'
module
Integration
module
Integration
autoload
:L
dap
,
'qa/scenario/test/integration/ldap'
autoload
:L
DAP
,
'qa/scenario/test/integration/ldap'
autoload
:Mattermost
,
'qa/scenario/test/integration/mattermost'
autoload
:Mattermost
,
'qa/scenario/test/integration/mattermost'
end
end
...
...
qa/qa/page/main/login.rb
View file @
18027b7f
...
@@ -20,6 +20,11 @@ class Login < Page::Base
...
@@ -20,6 +20,11 @@ class Login < Page::Base
element
:sign_in_button
,
'submit_tag "Sign in"'
element
:sign_in_button
,
'submit_tag "Sign in"'
end
end
view
'app/views/devise/shared/_tabs_ldap.html.haml'
do
element
:ldap_tab
,
"link_to server['label']"
element
:standard_tab
,
"link_to 'Standard'"
end
def
initialize
def
initialize
wait
(
max:
500
)
do
wait
(
max:
500
)
do
page
.
has_css?
(
'.application'
)
page
.
has_css?
(
'.application'
)
...
...
qa/qa/scenario/test/integration/ldap.rb
View file @
18027b7f
...
@@ -2,7 +2,7 @@ module QA
...
@@ -2,7 +2,7 @@ module QA
module
Scenario
module
Scenario
module
Test
module
Test
module
Integration
module
Integration
class
L
dap
<
Test
::
Instance
class
L
DAP
<
Test
::
Instance
tags
:ldap
tags
:ldap
end
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