Overview
tester-playwright is a GitHub Copilot agent that generates end-to-end Playwright tests. It explores your site using the Playwright MCP, takes snapshots to understand the UI, then writes well-structured TypeScript tests based on what it finds — iterating until all tests pass reliably.
When to Use
- Adding E2E coverage to existing features
- Generating regression tests after UI changes
- Exploring an unfamiliar site to understand its key flows
- Supplementing unit tests with browser-level interaction tests
How It Works
- Explore — navigates the site, takes snapshots, identifies key functionality
- Generate — writes TypeScript Playwright tests based on exploration
- Run and refine — executes tests, diagnoses failures, iterates until stable
- Document — summarizes what was tested and the test structure
Installation
Available as a GitHub Copilot agent. See the github-copilot-brain repo for setup.