run-e2e
Installation
SKILL.md
Run E2E Tests
Playwright-based E2E tests that drive the MCP Inspector UI through the full OAuth flow against the real Forms worker (src/worker.ts), which includes both Forms tool collections and in-process CMS chaining.
Key files:
- Test file:
tests/forms-hosted-e2e/e2e/mcp-inspector.test.ts - Worker setup:
tests/forms-hosted-e2e/e2e/helpers/worker-setup.ts - Wrangler config:
tests/forms-hosted-e2e/wrangler.e2e.toml - Shared test helpers from
@umbraco-cms/mcp-hosted/testing
Steps
1. Check prerequisites
- Verify
demo-site/exists (has a.csprojfile). If not, tell the user to runnpx create-umbraco-mcp-server init.
2. Kill stale processes
Kill any stale processes on the E2E ports (Umbraco, Worker, Inspector):