
Playwright testing in Staging vs Production
TLDR: We wrote a decision framework for splitting Playwright tests between staging and production, including when production testing isn't worth the operational cost.
Either you trust staging or you don't.
The real problem is that staging and production have different risk profiles, and almost nobody configures their test suite to reflect that.
The article covers what your timeouts, feature flags, parallelism, retry policy, trace capture, and auth setup should actually look like in each environment, and when production testing creates more problems than it solves.