I think one of the main advantages of using data-test-id attributes is to remind myself that there is a test case connected to the code I'm currently editing. Also makes finding all the tests that are connected to this element easier.
No comments yet.