Skip to content

Migrate badges to use testid

Will Meek requested to merge badges_testid_migration into master

What does this MR do and why?

Migrates badges to use data-testid rather than data-qa-selector as per gitlab-org/quality/quality-engineering/team-tasks#1822 (closed)

Also removes some found unused data-qa-selector attributes.

How to set up and validate locally

Run an affected spec eg.

CHROME_HEADLESS=false bundle exec bin/qa Test::Instance::All http://gdk.test:3000/ ./qa/specs/features/browser_ui/9_data_stores/project/create_project_badge_spec.rb

Also - ensure pipelines are passing or with known and unrelated issues.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports