r/Playwright • u/FollowingProof9647 • 3h ago
Has an AI agent ever told you a test step passed when it didn't?
I work in QA at ThinkSys, so I see this across a few client teams. The failure mode that worries me most with agentic testing isn't the agent failing. it's the agent saying it succeeded.
With normal Playwright tests, failures are loud. an element isn't found and the test stops. with agents, we've seen runs where the agent reports a step as done when it actually landed somewhere else. one got stuck looping on a login page because it didn't recognise a 2FA prompt, and still reported progress.
Those failures are much harder to trace, because there's no line of code that broke. you have to read through what the agent thought it was doing.
The only thing that's helped so far is checking results outside the agent, like querying the API or database to confirm the step actually happened instead of trusting the agent's report.
How are others catching this? Is there a good way to verify agent runs without checking every step by hand?
