Zerg E2E Guardrails
Principles
- •Correctness first, then speed.
- •Avoid silent success: helpers must fail loudly.
- •Wait on conditions, not sleeps.
Typical Fixes
- •Selector drift → add
data-testidin React. - •Readiness waits → wait for network response, not optimistic UI.
- •Shared state → isolate data per test/worker.
Common Commands
bash
make test-e2e-core make test-e2e make test-e2e-single TEST=tests/<spec>.ts make test-e2e-errors