qa-e2e-test-creation
Installation
SKILL.md
Separation of Concerns
IMPORTANT: E2E tests and MCP validation agents have different purposes:
| Type | Purpose | When |
|---|---|---|
E2E Tests (npm test:e2e) |
REGRESSION testing for CI/CD | Run on every commit/PR |
| MCP Agents | EXPLORATORY validation for NEW features | One-time validation per task |
E2E tests ensure existing features don't break. MCP agents verify new feature implementation.
NEVER CREATE FAKE OR TRIVIAL TESTS. If a test cannot be created with meaningful assertions, DO NOT CREATE A TEST. Instead, report the issue to PM and document the gap in test coverage in the task comments and close the task as completed with observations.
MANDATORY: Port Detection Before Browser Testing
⚠️ CRITICAL: Vite dev server may run on different ports (3000, 3001, 5174, 8080, etc.)
Before ANY browser interaction, ALWAYS detect the correct port: