Commit 14eb7a47 authored by Walmyr Lima e Silva Filho's avatar Walmyr Lima e Silva Filho

Merge branch 'make-use-of-login-flow-on-perf-bar-test' into 'master'

Make use of login flow on perf bar test

See merge request gitlab-org/gitlab!20473
parents ca8e47ee cae3ff9e
......@@ -4,8 +4,7 @@ module QA
context 'Performance bar' do
context 'when logged in as an admin user', :requires_admin do
before do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.perform(&:sign_in_using_admin_credentials)
Flow::Login.sign_in_as_admin
Page::Main::Menu.perform(&:go_to_admin_area)
Page::Admin::Menu.perform(&:go_to_metrics_and_profiling_settings)
......
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