FormidableLabs / FormidableLabs/envy
Use stable test IDs instead of classes
Open
- Dominant language
- TypeScript
- Stars
- 144
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Modify test cases to use a more stable assertion so class name changes do not break tests
Contributor guide
Research direction
Start by locating the test cases that assert against class names and inspect how the rendered elements expose stable identifiers. Update the assertions to use those stable test IDs, then run the affected test suite and confirm it passes without depending on class names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- testing
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100