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