How are you guys testing your apps using Selenium or similar tool?
We are planning to add anchors to the DOM and then find nodes using this anchors. Like this:
But there is a problem. It would be cool to add anchors to the components and have dom-attributes to be added automatically to root nodes:
return <MyComp data-test-id="myComp" />;
Probably have to patch react for this. What are your approaches?