Migrate Package Registry and Pages selectors to use testid
What does this MR do and why?
As per gitlab-org/quality/quality-engineering/team-tasks#1822 (closed) , migrate QA selector attributes from data-qa-selector
to data-testid
, or remove where unneeded.
This migrates pages under
app/assets/javscripts/packages_and_registries
app/assets/javascripts/pages/import/
app/assets/javascripts/pages/admin/application_settings/general/components
app/assets/javascripts/pages/projects/forks/new/components
How to set up and validate locally
Run an affected spec eg.
QA_DEBUG=true CHROME_HEADLESS=false bundle exec bin/qa Test::Instance::All http://gdk.test:3000/ ./qa/specs/features/browser_ui/5_package/package_registry/maven/maven_group_level_spec.rb
Note pipelines of this MR
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.