Failure Recovery (Beta)
Failure recovery (beta) lets a failing step try a different strategy before surfacing the failure. It is aimed at the narrow class of flakes where a step fails for environmental reasons (slow render, temporary 5xx) and a second attempt would succeed.
Enable for a suite
assrt.config.yamlyaml
failureRecovery:
enabled: true
maxAttempts: 2
strategies: [reattempt, rerender, refetch]Not a substitute for fixing flakes
Recovery hides intermittent failures. Treat it as a last resort. If a test needs recovery to pass, the underlying test or app needs work.