Open danoc opened 4 years ago
We might not need to adjust the dataTest attribute https://testing-library.com/docs/dom-testing-library/api-helpers#custom-queries
For example, the code below shows a way to override the default testId queries to use a different data-attribute
https://testing-library.com/docs/react-testing-library/api#queries
We should also rename the prop
dataTest
todataTestId
in the process.I propose that we do this in a few steps: