SoftwareTestPilot
All discussions
Arjun PatelJul 10

How to safely reset DB state between Cypress e2e specs

Every spec assumes a fresh DB. Right now we hit a /test/reset endpoint in before() which mutates a shared staging DB - flaky as expected. What patterns are people using? Per-worker seeded DBs? Docker per spec? Snapshots?

cypresstest-datae2e
Related learningExplore Academy skill paths

0 answers

No answers yet.

Be the first QA professional to help. A short, practical answer is often enough.