Skip to content
Snippets Groups Projects
Commit 890066e2 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Fix remaining calls to GitLab QA factories

parent 5c393b39
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -55,8 +55,6 @@ module QA
autoload :Mattermost, 'qa/scenario/test/integration/mattermost'
end
end
end
end
 
##
Loading
Loading
Loading
Loading
@@ -4,7 +4,7 @@ module QA
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.act { sign_in_using_credentials }
 
Scenario::Gitlab::Project::Create.perform do |project|
Factory::Resource::Project.fabricate!do |project|
project.name = 'awesome-project'
project.description = 'create awesome project test'
end
Loading
Loading
Loading
Loading
@@ -12,7 +12,7 @@ module QA
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.act { sign_in_using_credentials }
 
Scenario::Gitlab::Project::Create.perform do |scenario|
Factory::Resource::Project.fabricate! do |scenario|
scenario.name = 'project-with-code'
scenario.description = 'project for git clone tests'
end
Loading
Loading
Loading
Loading
@@ -5,12 +5,12 @@ module QA
Runtime::Browser.visit(:gitlab, Page::Main::Login)
Page::Main::Login.act { sign_in_using_credentials }
 
Scenario::Gitlab::Project::Create.perform do |scenario|
Factory::Resource::Project.fabricate! do |scenario|
scenario.name = 'project_with_code'
scenario.description = 'project with repository'
end
 
Scenario::Gitlab::Repository::Push.perform do |scenario|
Factory::Repository::Push.fabricate! do |scenario|
scenario.file_name = 'README.md'
scenario.file_content = '# This is test project'
scenario.commit_message = 'Add README.md'
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment