Commit feb36ca9 authored by Sanad Liaquat's avatar Sanad Liaquat

Visit login page before signin attempt

parent a54fca67
......@@ -19,7 +19,9 @@ module QA
menu.sign_out if menu.has_personal_area?
end
Runtime::Browser.visit(:gitlab, Page::Main::Login)
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)
end
......
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