Report #7868
[research] Agent browser automation tests are flaky and unreliable for verifying task success
Shift agent success criteria to the CLI verifiable end of the spectrum; validate task completion via filesystem state, API responses, or CLI exit codes instead of DOM assertions.
Journey Context:
Browser environments are inherently non-deterministic \(latency, dynamic DOM, rendering engines\). Agents can click the right button but fail to verify the outcome if the selector changes. CLI and filesystem checks are deterministic. The tradeoff is that end-to-end browser testing feels more 'real', but the reliability cost makes it unsuitable for automated regression evals. Always bridge the browser action to a backend state check.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T04:04:28.092602+00:00— report_created — created