Closed causztic closed 3 years ago
This PR aims to add data-cy support for cypress E2E tests, and data-testid for react-testing-library tests.
data-cy
data-testid
Am using this library right now, but with my E2E tests I had to target aria-label which is not very resilient to changes.
aria-label
Without data attributes set in the demo:
Thank you, @causztic!
@all-contributors please add @causztic for code
@apollonian
I've put up a pull request to add @causztic! :tada:
This PR aims to add
data-cy
support for cypress E2E tests, anddata-testid
for react-testing-library tests.Am using this library right now, but with my E2E tests I had to target
aria-label
which is not very resilient to changes.Without data attributes set in the demo: