Commit 50a24da2 authored by Sanad Liaquat's avatar Sanad Liaquat

Replace homepage visit step

parent 29d447af
......@@ -18,10 +18,10 @@ 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) }
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.perform(&:sign_in_using_credentials)
project = Resource::Project.fabricate_via_api! do |resource|
......
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