[E2E] Update template-type-selector specs
What does this MR do and why?
After the work of !108459 (merged) - we needed to change
- qa/specs/features/browser_ui/3_create/repository/add_file_template_spec.rb
- qa/specs/features/ee/browser_ui/3_create/repository/group_file_template_spec.rb
Essentially we do not have the template type selector dropdown anymore until after typing in the file_name and then only if it matches a predefined template type.
Due to !108459 (comment 1237749517) - LICENSE is required to be hardcoded to have a more strict pattern. "we do not want the dropdown to be shown for some random names containing license
in it (or licensce
or copying
)"
How to set up and validate locally
bundle exec bin/qa Test::Instance::All http://gdk.test:3000/ qa/specs/features/browser_ui/3_create/repository/add_file_template_spec.rb
bundle exec bin/qa Test::Instance::All http://gdk.test:3000/ qa/specs/features/ee/browser_ui/3_create/repository/group_file_template_spec.rb
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.