Address review comments for LDAP QA test

This commit is contained in:
Stan Hu 2018-02-06 16:27:37 -08:00
parent cfa58db8b3
commit 739916748d
3 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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')

View file

@ -2,7 +2,7 @@ module QA
module Scenario
module Test
module Integration
class Ldap < Test::Instance
class LDAP < Test::Instance
tags :ldap
end
end