- Add comprehensive test suite (test-comprehensive-e2e-staging.js) with 100+ tests covering: * Role-based access control validation (guest/trainer/master trainer) * Page content verification for 50+ custom templates * Dashboard functionality testing with real data scenarios * Public trainer directory interaction testing * Mobile responsiveness verification (375px/768px/1920px viewports) * Security validation (XSS/CSRF/SQL injection prevention) * Performance monitoring with load time measurements * JavaScript error detection and WordPress error validation - Add MCP Playwright browser tools simulation (test-mcp-browser-staging.js) for: * Headed browser visual validation * UI interaction testing with screenshot documentation * Form interaction and navigation flow testing * Real user experience validation - Add test execution wrapper (staging-test-runner.js) with: * Environment configuration management * Test account credential handling * Command-line interface for easy execution * Headless/headed mode switching - Add comprehensive testing documentation: * Detailed 5-phase testing strategy (COMPREHENSIVE-E2E-TESTING-PLAN.md) * Complete implementation guide (STAGING-TESTING-STATUS-REPORT.md) * Expert analysis integration from zen testgen with Kimi K2 * Risk-based testing priorities and success criteria - Implement systematic testing approach using zen deepthink analysis: * WordPress-specific testing patterns for plugin architecture * Test data factory recommendations for consistent fixtures * Performance regression testing against pre-transformation benchmarks * Role boundary security testing for privilege escalation prevention Ready for immediate execution on staging environment to identify bugs, blank pages, and optimization opportunities through real browser interaction. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
35 lines
No EOL
2.9 KiB
JSON
35 lines
No EOL
2.9 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
"permissions": {
|
|
"allow": [
|
|
"mcp__playwright__browser_click",
|
|
"Bash(wp eval:*)",
|
|
"Bash(test:*)",
|
|
"mcp__playwright__browser_take_screenshot",
|
|
"Bash(chmod:*)",
|
|
"Bash(bin/refresh-user-roles-capabilities.sh:*)",
|
|
"Bash(find:*)",
|
|
"Bash(SSHPASS=\"uSCO6f1y\" sshpass -e scp -o StrictHostKeyChecking=no /home/ben/dev/upskill-event-manager/includes/class-hvac-trainer-communication-templates.php roodev@146.190.76.204:/home/974670.cloudwaysapps.com/uberrxmprk/public_html/wp-content/plugins/hvac-community-events/includes/)",
|
|
"Bash(SSHPASS=\"uSCO6f1y\" sshpass -e scp -o StrictHostKeyChecking=no /home/ben/dev/upskill-event-manager/templates/page-edit-event.php roodev@146.190.76.204:/home/974670.cloudwaysapps.com/uberrxmprk/public_html/wp-content/plugins/hvac-community-events/templates/)",
|
|
"Bash(SSHPASS=\"uSCO6f1y\" sshpass -e scp -o StrictHostKeyChecking=no /home/ben/dev/upskill-event-manager/refresh-roles-capabilities-local.php roodev@146.190.76.204:/home/974670.cloudwaysapps.com/uberrxmprk/public_html/wp-content/plugins/hvac-community-events/)",
|
|
"Bash(SSHPASS=\"uSCO6f1y\" sshpass -e ssh -o StrictHostKeyChecking=no roodev@146.190.76.204 \"cd /home/974670.cloudwaysapps.com/uberrxmprk/public_html && wp eval-file wp-content/plugins/hvac-community-events/refresh-roles-capabilities-local.php\")",
|
|
"Bash(SSHPASS=\"uSCO6f1y\" sshpass -e ssh -o StrictHostKeyChecking=no roodev@146.190.76.204 \"cd /home/974670.cloudwaysapps.com/uberrxmprk/public_html && wp user list --field=user_login\")",
|
|
"Bash(SSHPASS=\"uSCO6f1y\" sshpass -e ssh -o StrictHostKeyChecking=no roodev@146.190.76.204 \"cd /home/974670.cloudwaysapps.com/uberrxmprk/public_html && wp user get test_admin --field=roles\")",
|
|
"mcp__playwright__browser_type",
|
|
"Bash(echo:*)",
|
|
"Bash(SSHPASS=\"uSCO6f1y\" sshpass -e scp -o StrictHostKeyChecking=no /home/ben/dev/upskill-event-manager/includes/class-hvac-announcements-admin.php roodev@146.190.76.204:/home/974670.cloudwaysapps.com/uberrxmprk/public_html/wp-content/plugins/hvac-community-events/includes/)",
|
|
"Bash(SSHPASS=\"uSCO6f1y\" sshpass -e scp -o StrictHostKeyChecking=no /home/ben/dev/upskill-event-manager/templates/page-master-announcements.php roodev@146.190.76.204:/home/974670.cloudwaysapps.com/uberrxmprk/public_html/wp-content/plugins/hvac-community-events/templates/)",
|
|
"Bash(SSHPASS=\"uSCO6f1y\" sshpass -e scp -o StrictHostKeyChecking=no /home/ben/dev/upskill-event-manager/assets/css/hvac-announcements-admin.css roodev@146.190.76.204:/home/974670.cloudwaysapps.com/uberrxmprk/public_html/wp-content/plugins/hvac-community-events/assets/css/)",
|
|
"Bash(git log:*)",
|
|
"mcp__zen__thinkdeep",
|
|
"mcp__zen__testgen",
|
|
"Bash(git add:*)"
|
|
],
|
|
"deny": [],
|
|
"ask": [],
|
|
"additionalDirectories": [
|
|
"/tmp"
|
|
]
|
|
},
|
|
"enableAllProjectMcpServers": true
|
|
} |