30 / 108 · 03 Agentic Testing Architectures · The Orchestrator Pattern← prev⊞ allnext →☰ Read as one page
4.6The Pattern Gone Mainstream: Playwright Test Agents
The orchestrator pattern is no longer something only in-house platform teams build. Since v1.56, Playwright ships Test Agents -- three cooperating agents scaffolded with npx playwright init-agents:
- Planner -- explores the app and produces a test plan (the orchestrator's "analyze the spec, decide what to test" role)
- Generator -- turns the plan into executable Playwright tests (a specialist)
- Healer -- repairs tests that break when the UI changes (a specialist)
This is a planner-delegates-to-specialists architecture straight out of this chapter, shipped inside the most widely used E2E framework. When an interviewer asks for a real-world orchestrator example, Playwright Test Agents is the answer that shows you follow the mainstream tooling, and the custom implementation in this chapter shows you understand what is inside it.