Skip to content

Add support for pre-made and custom templates

Dan Davison requested to merge qa-add-project-templates into master

What does this MR do?

Allow projects to be fabricated with an existing template.

For EE, the template can also be custom. The previous implementation only supported EE templates, but pre-made templates are also available for use in Non-EE environments.

  • Refactored existing used qa-classes to data-qa selectors
  • Extracted use_template_for_project into shared component
  • Providing new API support for supplying a template_name
    • Resource::Project.fabricate_via_api! do |project|
        ...
        project.template_name = 'rails'
      end

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Edited by Dan Davison

Merge request reports