Add data-testid to all components that don't have one
em-xqm opened this issue ยท 2 comments
em-xqm commented
Is your feature request related to a problem? Please describe.
It is difficult to identify northstar components that have no "data-testid" for ui automation testing using tools like Cypress.
Is your feature request related to a specific component? Please add.
Describe the solution you'd like
Add data-testid to all components.
Describe alternatives you've considered
Additional context
cogwirrel commented
It'd be nice if data-testid
could be passed as a prop to all the components and get added to the appropriate underlying component, eg:
<Button onClick={...} data-testid="my-button-that-i-reference-in-tests">Click Me</Button>
aws-prototyping-bot commented
๐ This issue has been resolved in version 1.3.12 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐