data-test-id injection
Open
@tomsmith8 is already working on this.
Since Oct 6, 2025.
- Dominant language
- TypeScript
- Stars
- 112
- Forks
- 21
- Avg merge
- 5h 55m
- Merged PRs (30d)
- 115
Description
If we can inject a unique data-test-id onto every user-controlled element, our Playwright selectors should be 100% effective and we won't need to rely on complex fallback systems. Right now, staktrak prioritizes data-test-id, then has a series of fallback selectors with decreasing levels of effectiveness, leading to potential issues with test replays.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.