Commit a682bd4e authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'fix-ldap-user-leak-2-qa' into 'master'

Use specific LDAP creds directly in admin_ldap_sync_spec.rb

Closes gitlab-org/quality/nightly#44

See merge request gitlab-org/gitlab-ee!8962
parents a0d4f2cb 49a809be
...@@ -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