Agent skill
testing-automation-mcp
Autonomous E2E testing using Playwright Model Context Protocol (MCP).
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/testing-automation-mcp
SKILL.md
🧪 Testing Automation MCP
This skill empowers AI Agents to autonomously write, execute, and debug E2E tests using the official Playwright MCP Server. It transforms passive testing into an active, agentic workflow.
🚀 Capabilities
- Browser Control: Navigate URLs, click elements, fill forms, and handle dialogs via MCP.
- Visual Verification: Capture screenshots and trace files for debugging.
- Self-Healing: Analyze failure logs and rewrite selector logic automatically.
- Cross-Browser: Execute tests on Chromium, Firefox, and WebKit.
🛠️ MCP Toolset (Playwright)
| Tool | Description | Usage |
|---|---|---|
playwright_navigate |
Go to a specific URL. | {"url": "http://localhost:3000"} |
playwright_click |
Click an element by selector. | {"selector": "button[type='submit']"} |
playwright_fill |
Fill input fields. | {"selector": "#email", "value": "[email protected]"} |
playwright_screenshot |
Take a screenshot of the viewport. | {"path": "debug/error.png"} |
playwright_evaluate |
Run custom JS in the browser. | {"script": "return document.title"} |
♟️ Strategic Patterns
🧠 Knowledge Modules (Fractal Skills)
1. 1. The "Observer" Pattern (Test Creation)
2. 2. The "Healer" Pattern (Test Recovery)
3. 3. The "Simulator" Pattern (User Journey)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?