1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 
 

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.

17
18
19
20
 
 
21
22
Test Desiderata 2.0 (coding-is-like-cooking.info)
23
24
25
view more: next ›