Skip to main content
AI/MLWaterplanAI

e2e-template

Template generator for E2E test definitions. Creates structured test files for use with test-e2e skill. Triggers on keywords: e2e template, test template, create test definition

Stars
31
Source
WaterplanAI/agentic-config
Updated
2026-05-25
Slug
WaterplanAI--agentic-config--e2e-template
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/WaterplanAI/agentic-config/HEAD/plugins/ac-qa/skills/ac-qa/e2e-template/SKILL.md -o .claude/skills/e2e-template.md

Drops the SKILL.md into .claude/skills/e2e-template.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

E2E Test:

User Story

As a I want to So that

Pre-Conditions

  • Application is running at base URL

Test Steps

  1. Navigate to <path>
  2. Verify page title contains ""
  3. Screenshot "initial_state"
  4. Click "
  5. Verify ""
  6. Type "" into ""
  7. Screenshot "after_action"
  8. Verify

Success Criteria

  • Page loads without errors
  • <specific criterion 1>
  • <specific criterion 2>
  • All screenshots captured successfully

Expected Output

{
  "test_name": "<Test Name>",
  "status": "passed",
  "screenshots": [
    "{PROJECT_ROOT}/outputs/e2e/<test-name>/01_initial_state.png",
    "{PROJECT_ROOT}/outputs/e2e/<test-name>/02_after_action.png"
  ],
  "error": null
}

Notes

  • Video recording is explicit: use playwright-cli video-start before and video-stop after the test flow. Output saved to {PROJECT_ROOT}/outputs/e2e/
  • Screenshots saved to {PROJECT_ROOT}/outputs/e2e/<test-name>/
  • Use descriptive screenshot names for clarity