Commit 73991674 authored by Stan Hu's avatar Stan Hu

Address review comments for LDAP QA test

parent cfa58db8
...@@ -64,7 +64,7 @@ module QA ...@@ -64,7 +64,7 @@ module QA
autoload :Instance, 'qa/scenario/test/instance' autoload :Instance, 'qa/scenario/test/instance'
module Integration module Integration
autoload :Ldap, 'qa/scenario/test/integration/ldap' autoload :LDAP, 'qa/scenario/test/integration/ldap'
autoload :Mattermost, 'qa/scenario/test/integration/mattermost' autoload :Mattermost, 'qa/scenario/test/integration/mattermost'
end end
......
...@@ -20,6 +20,11 @@ module QA ...@@ -20,6 +20,11 @@ module QA
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')
......
...@@ -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 Ldap < Test::Instance class LDAP < Test::Instance
tags :ldap tags :ldap
end end
end end
......
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