Skip to content

Add data-testid as a recommended FE test selector

Paul Slaughter requested to merge fe-docs-add-data-testid-as-selector into master

What does this MR do?

This MR adds [data-testid] as a recommended DOM selector in FE tests.

Why?

See this comment for context:

This is the recommended way to select elements by the VTU team and seems to be the most maintainable. It's also really easy to clean up in the pinning test.

Merge request reports