From ac-qa
Executes E2E tests from definition files using Playwright CLI browser automation. Runs steps like navigate, click, fill, verify; captures screenshots/videos; outputs JSON results.
npx claudepluginhub waterplanai/agentic-config --plugin ac-qaThis skill is limited to using the following tools:
Execute E2E test steps from a test definition file.
Runs E2E browser tests from natural language JSON files using agent-browser, with dev server support, screenshots, and visual regression. Use for UI, browser, or web app testing.
Executes E2E UI tests from plain English descriptions via browser automation, screenshots steps, generates video walkthroughs, and exports Playwright .spec.ts scripts for CI/CD.
Opens headed Playwright browser for E2E testing at URL (defaults localhost:5173). Provides CLI for navigation, clicks, typing, screenshots, snapshots, video.
Share bugs, ideas, or general feedback.
Execute E2E test steps from a test definition file.
Test File: $1
Base URL: $2 (default: http://localhost:${DEFAULT_PORT:-5173}/)
Verify Test File Exists
$1Verify playwright-cli Installed
playwright-cli --helpParse Test Definition
Initialize Test Session
{PROJECT_ROOT}/outputs/e2e/<test-name>/Navigate to Base URL
playwright-cli open <base_url>playwright-cli screenshot --output {PROJECT_ROOT}/outputs/e2e/<test-name>/01_initial.pngExecute Test Steps
playwright-cli goto <url>; Verify: playwright-cli snapshot; Click: playwright-cli click "<selector>"; Fill: playwright-cli fill "<selector>" "<text>"; Screenshot: playwright-cli screenshot --output <path>
c. If step includes "screenshot": capture and save
d. If step includes "verify": validate condition
e. On failure: record error and continue to capture stateValidate Success Criteria
Generate Result JSON
Return JSON result:
{
"test_name": "<name from test file>",
"status": "passed|failed",
"timestamp": "<ISO timestamp>",
"duration_ms": <number>,
"steps": [
{"step": 1, "action": "navigate", "status": "passed"},
{"step": 2, "action": "verify", "status": "passed"}
],
"screenshots": [
"{PROJECT_ROOT}/outputs/e2e/<test-name>/01_initial.png"
],
"video": "{PROJECT_ROOT}/outputs/e2e/<timestamp>-<test-name>.webm",
"error": null
}
playwright-cli open <url> / goto <url> - Navigate to URLsplaywright-cli snapshot - Get page accessibility treeplaywright-cli click "<selector>" - Click elementsplaywright-cli fill "<selector>" "<text>" - Type into inputsplaywright-cli screenshot --output <path> - Capture PNG screenshotsplaywright-cli close - End session