Testing · Middle · Question 61 of 75
Which Cypress practice is an anti-pattern?
- ✓Correct answer: Making tests depend on each other, e.g. the second test relies on data created by the first
- 2Logging in via API instead of UI
- 3Using
data-cyselectors
Explanation
Each test should set up its own state; then it can run alone and in any order.