1
2
3
4
5
6
7
8
9
 
 

I’ve come across a lot of articles lately claiming that using data-testid is the best way to define selectors in your tests. Apparently, they simplify element selection, ensure maintainability and stability and decouple your tests from UI changes.

I couldn’t disagree more.

10
11
12
13
14
15
Test Desiderata 2.0 (coding-is-like-cooking.info)
16
17
18
19
20
21
22
23
24
25
view more: next ›