Commit f85b9202 authored by Walmyr Lima's avatar Walmyr Lima

Update verify qa tests to use login flow

parent 7fcf7647
......@@ -4,8 +4,7 @@ module QA
context 'Verify' do
describe 'CI variable support' do
it 'user adds a CI variable', :smoke do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.perform(&:sign_in_using_credentials)
Flow::Login.sign_in
project = Resource::Project.fabricate_via_api! do |project|
project.name = 'project-with-ci-variables'
......
......@@ -10,8 +10,7 @@ module QA
end
it 'users creates a pipeline which gets processed' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.perform(&:sign_in_using_credentials)
Flow::Login.sign_in
project = Resource::Project.fabricate! do |project|
project.name = 'project-with-pipelines'
......
......@@ -10,8 +10,7 @@ module QA
end
it 'user registers a new specific runner' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.perform(&:sign_in_using_credentials)
Flow::Login.sign_in
Resource::Runner.fabricate! do |runner|
runner.name = executor
......
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