Description
Expect is a testing skill for coding agents. It reads your git changes, generates a test plan from them and runs that plan in a real browser with Playwright. The site says it hooks into an existing agent such as Claude Code, Codex or Cursor and runs on your own machine. You start it from the agent with the /expect command, and it spawns subagents that simulate logged-in users to find issues and regressions. Its checks cover performance, including long animation frames, INP and LCP, security points such as npm dependencies, CSRF and known vulnerabilities, design details such as broken hover states, links and buttons, and completeness, such as missing metadata and dead links. Instead of writing and maintaining Playwright or Cypress scripts, you let the agent test its own changes, and then the agent fixes what was found and runs the tests again. Expect uses your real cookies to run as you, and it can run in CI, where it runs headless, skips cookie extraction, auto-approves the plan and times out after 30 minutes. It works with any MCP client that supports the stdio transport. Mobile testing and a hosted or enterprise version are listed as coming soon.…
Highlights
- Tests your agent's code changes in a real browser
- Generates a test plan from git changes
- Checks performance, security, design and completeness
- Runs in CI on pull requests, headless
- Works with any MCP client using stdio
Ratings & Reviews
No ratings yet
Be the first to rate Expect.
People also visit
Expect FAQ
What is Expect?
A testing skill that reads your git changes, writes a test plan and runs it in a real browser with Playwright, then reports what is broken so your agent can fix it.
How do I install it?
Run npx -y expect-cli@latest init from your project. The site also shows how to add it as an MCP server with claude mcp add.
Does it run on my machine or in the cloud?
The site says it runs entirely on your machine and hooks into your existing agent.
Does it work in CI?
Yes. Use the --ci flag or the add github-action command to set up a workflow that tests every pull request.
Does it support mobile testing?
Not yet. The site lists mobile testing as coming soon.
Is there a hosted or enterprise version?
Not yet. The site lists it as coming soon and gives an email address for questions.
What are the best Expect alternatives?
Popular alternatives to Expect include Ghost Inspector, TestDriver and Checksum. See all Expect alternatives














