Cypress · Senior · Question 15 of 76
How should per-test database setup work in a parallel Cypress suite?
- 1One shared seed loaded once before all machines start
- 2Tests run in a fixed order and reuse each other's rows
- 3Unique data per test via tasks or API, with cleanup
Show the answer
Correct answer: Unique data per test via tasks or API, with cleanup
Explanation
Parallel machines hit the same backend. Unique IDs or tenants per test prevent collisions and order dependence.