Commit 9ead94ef authored by Dan Davison's avatar Dan Davison

Merge branch 'ml-qa-remove-unnecessary-sign-out-statements' into 'master'

Remove unnecessary sign out statements in QA test

See merge request gitlab-org/gitlab!19470
parents 601cc959 b1457867
......@@ -39,8 +39,6 @@ module QA
context 'built-in' do
before do
Page::Main::Menu.perform(&:sign_out_if_signed_in)
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.perform(&:sign_in_using_admin_credentials)
......@@ -72,8 +70,6 @@ module QA
# Failure issue: https://gitlab.com/gitlab-org/quality/staging/issues/61
context 'instance level', :quarantine do
before do
Page::Main::Menu.perform(&:sign_out_if_signed_in)
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.perform(&:sign_in_using_admin_credentials)
......@@ -117,10 +113,6 @@ module QA
context 'group level' do
before do
# Log out if already logged in. This is necessary because
# a previous test might have logged in as admin
Page::Main::Menu.perform(&:sign_out_if_signed_in)
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.perform(&:sign_in_using_credentials)
......
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