How to E2E Test AI Agents: Mocking API Responses with Playwright in Next.js 2026-03-06 · Dev.to Read at source