Commit 6c92e87d authored by Ramya Authappan's avatar Ramya Authappan

Merge branch 'qa-staging-51-fix-instance-level-proj-template-spec' into 'master'

Fix instance level project templates QA spec

See merge request gitlab-org/gitlab-ee!10861
parents 7fce1599 19d42228
......@@ -41,8 +41,13 @@ module QA
# Failure issue: https://gitlab.com/gitlab-org/quality/staging/issues/51
context 'instance level', :quarantine do
before do
# Log out if already logged in
Page::Main::Menu.perform do |menu|
menu.sign_out if menu.has_personal_area?(wait: 0)
end
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.perform(&:sign_in_using_credentials)
Page::Main::Login.perform(&:sign_in_using_admin_credentials)
Page::Main::Menu.perform(&:click_admin_area)
Page::Admin::Menu.perform(&:go_to_template_settings)
......
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