Commit 5a2f43b2 authored by Ramya Authappan's avatar Ramya Authappan

Merge branch 'qa-shl-fix-logging-in-restrict-by-ip-address-spec' into 'master'

Fix temporary logging mechanism by signing out before signing in as admin

See merge request gitlab-org/gitlab!30177
parents dcc10797 319275de
......@@ -69,6 +69,9 @@ module QA
QA::Runtime::Logger.info "On failure - Revisiting: #{@group.sandbox.path}"
QA::Runtime::Logger.info page.save_screenshot(::File.join(QA::Runtime::Namespace.name, "group_sandbox_on_failure.png"), full: true)
page.visit Runtime::Scenario.gitlab_address
Page::Main::Menu.perform(&:sign_out_if_signed_in)
Flow::Login.while_signed_in_as_admin do
@group.sandbox.visit!
......
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