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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ac-qa:test-e2eThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Execute E2E test steps from a test definition file.
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 sessionnpx claudepluginhub waterplanai/agentic-config --plugin ac-qaRuns 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.
Opens headed Playwright browser for E2E testing at URL (defaults localhost:5173). Provides CLI for navigation, clicks, typing, screenshots, snapshots, video.
Executes end-to-end tests for full user workflows across frontend and backend using Playwright, Cypress, or Selenium. Use for specialized testing of user journeys.