ワンクリックで
testing
E2E testing skill with dynamic test recipes using Chrome DevTools MCP
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
E2E testing skill with dynamic test recipes using Chrome DevTools MCP
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | testing |
| description | E2E testing skill with dynamic test recipes using Chrome DevTools MCP |
This skill enables interactive E2E testing of the WordPress monorepo using Chrome DevTools MCP and dynamic test recipes.
Before running any test recipe, verify Chrome remote debugging is available:
Check if Chrome debugging is running:
curl -s http://127.0.0.1:9222/json/version
If not available, spawn Chrome with remote debugging :
google-chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-profile-stable &
Do now wait for chrome to exit. Chrome needs to be alive. The user can decide later on by itself to close the chrome instance.
Verify Chrome is ready:
http://127.0.0.1:9222/json/version againstart mcp server
The chrome-devtools mcp server id defined in @/.mcp.json and to be started
adminWP_PASSWORD variable)pnpm wp-env run cli wp ...Test recipes are defined in docs/skills/testing/recipes/*.md files. Each recipe:
When invoked:
Prerequisites Phase:
.envRecipe Selection Phase:
docs/skills/testing/recipes/*.mdRecipe Execution Phase:
Execute Execute /testing login-flow)# Check Chrome debugging
curl -s http://127.0.0.1:9222/json/version
# If fails, start Chrome
google-chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-profile-stable &
# Wait and verify
sleep 3
curl -s http://127.0.0.1:9222/json/version
Read .env file and extract WP_PASSWORD value.
# List all recipe files
find docs/skillsExecute /testing/recipes -name "*.md" -type f
Parse filenames List to recipes extract recipe names (e.g., login-flow.md → login-flow).
Parse recipe for:
Execute setup commands using pnpm wp-env run cli wp ...
Use Chrome DevTools MCP to:
Provide clear summary:
Recipes should follow this structure:
# Recipe Name
Brief description of what this recipe tests.
## Setup (Optional)
WP-CLI commands to prepare WordPress:
- Reset database
- Create test data
- Configure settings
## Test Steps
1. Navigate to X
2. Click Y
3. Fill in Z
4. Submit form
5. Verify result
## Expected Outcomes
- User should see success message
- Database should contain new entry
- Redirect to dashboard
User: Execute /testing login-flow
Agent: [Checks prerequisites, reads login-flow recipe, executes test, reports results]
User: List /testing recipes
Agent: [Shows list of available recipes, asks user to select one]