Commit d2649cd5 authored by Ramya Authappan's avatar Ramya Authappan

Merge branch 'qa-nightly-49-fix-admin-ldap-sync-spec' into 'master'

Fix admin_ldap_sync_spec

See merge request gitlab-org/gitlab-ee!9454
parents 2208b004 8d2dbb60
...@@ -79,9 +79,9 @@ module QA ...@@ -79,9 +79,9 @@ module QA
end end
def sign_in_using_ldap_credentials(user) def sign_in_using_ldap_credentials(user)
# Don't try to log-in if we're already logged-in # Log out if already logged in
return if Page::Main::Menu.perform do |page| Page::Main::Menu.perform do |menu|
page.has_personal_area?(wait: 0) menu.sign_out if menu.has_personal_area?(wait: 0)
end end
using_wait_time 0 do using_wait_time 0 do
......
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