Commit 49a809be authored by Mark Lapierre's avatar Mark Lapierre

Use custom LDAP creds directly

Don't override global LDAP creds
parent a0d4f2cb
...@@ -7,10 +7,9 @@ module QA ...@@ -7,10 +7,9 @@ module QA
Runtime::Browser.visit(:gitlab, Page::Main::Login) Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.perform do |login_page| Page::Main::Login.perform do |login_page|
Runtime::Env.ldap_username = 'adminuser1' user = Struct.new(:ldap_username, :ldap_password).new('adminuser1', 'password')
Runtime::Env.ldap_password = 'password'
login_page.sign_in_using_credentials login_page.sign_in_using_ldap_credentials(user)
end end
Page::Main::Menu.perform do |menu| Page::Main::Menu.perform do |menu|
......
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