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
autoload :Instance, 'qa/scenario/test/instance'
module Integration
autoload :Ldap, 'qa/scenario/test/integration/ldap'
autoload :LDAP, 'qa/scenario/test/integration/ldap'
autoload :Mattermost, 'qa/scenario/test/integration/mattermost'
end
......
......@@ -20,6 +20,11 @@ module QA
element :sign_in_button, 'submit_tag "Sign in"'
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
wait(max: 500) do
page.has_css?('.application')
......
......@@ -2,7 +2,7 @@ module QA
module Scenario
module Test
module Integration
class Ldap < Test::Instance
class LDAP < Test::Instance
tags :ldap
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