DEV Community

Dennis Morello
Dennis Morello

Posted on

Add data-test-id attributes to React apps

Meet react-test-attributes, my new library for React apps to add custom data-* attributes to DOM elements. Use it for your E2E tests!

https://www.npmjs.com/package/react-test-attributes

Top comments (0)