Skip to content
Testing·Advanced·Conceptual·1 min read

What's the problem with automatically retrying failed e2e tests?

Short interview answer

A retry that passes hides an intermittent failure that may also affect real users. Retries are acceptable as a safety net against known infrastructure noise, but a consistently flaky test should be diagnosed and fixed, since the flakiness often reflects a real race condition.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to End-to-end testing

Related questions