Your AI Agent Tests Are Passing, But Your Agent Is Still Broken

Wait 5 sec.

I was building an AI agent that reads log files, calls APIs, and runs tools based on user instructions. Standard stuff for anyone working with LLM-based automation today.I wrote Playwright tests for it. The tests were green. The agent was lying.