Commit 3b9b7407 authored by Sanad Liaquat's avatar Sanad Liaquat

Ensure test is on login page

parent 17fe0307
......@@ -18,6 +18,8 @@ module QA
QA::Runtime::Env.personal_access_token = nil
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Menu.perform(&:sign_out) if Page::Main::Menu.perform { |p| p.has_personal_area?(wait: 0) }
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