Commit 9754c551 authored by Ramya Authappan's avatar Ramya Authappan

Merge branch 'qa-nightly-89-fix-group_ldap_sync-spec' into 'master'

Fix LDAP Group Sync QA e2e specs

Closes gitlab-org/quality/nightly#89

See merge request gitlab-org/gitlab-ee!10600
parents a1e2ecaf 0b58c1d4
......@@ -13,7 +13,8 @@ module QA
# Create an admin personal access token and use it for the remaining API calls
@original_personal_access_token = Runtime::Env.personal_access_token
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Menu.perform(&:sign_out)
Page::Main::Login.perform(&:sign_in_using_admin_credentials)
Runtime::Env.personal_access_token = Resource::PersonalAccessToken.fabricate!.access_token
Page::Main::Menu.perform(&:sign_out)
......
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