Commit 379f61a1 authored by Walmyr Lima's avatar Walmyr Lima

Make use of login flow on monitor test

parent 641f3e14
......@@ -13,7 +13,7 @@ module QA
end
it 'installs Kubernetes and Prometheus' do
login
Flow::Login.sign_in
create_project
......@@ -24,11 +24,6 @@ module QA
private
def login
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.perform(&:sign_in_using_credentials)
end
def create_project
@project = Resource::Project.fabricate_via_api! do |p|
p.name = 'cluster-health'
......
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