influxdata / influxdata/giraffe
GeoWidget: data-testid for components
Open
kind/tech debt
team/bonitoo
- Dominant language
- TypeScript
- Stars
- 189
- Forks
- 33
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 4
Description
**Build**
Detected in PR 365 - Dubsky fork
```
commit 361b63bc55ac4989f17f03f33165d3070c7236b2
```
**Use Case**
When writing automated tests in cypress it will be easier to write test selectors if target elements have a `data-testid` attribute. Without them selectors need to be written with sometimes complex syntax using class values and other attributes, whose values are subject to change. This makes the tests brittle.
**Example**
Here I want to check the track endpoints which are all contained in the first `
Contributor guide
Assessment
This issue has not been assessed yet.