/playwright-pom-harness:automate-testfrom playwright-pom-harness
Automate test cases from a user story, an ADO suite or local scenarios into durable POM code through observed execution, independent review and two scoped green runs.
Ships in playwright-pom-harness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Resolve this skill to its real path and read package and consumer boundaries. Mutable state and generated code belong to the consumer; installed skills stay immutable.
For missing DB lookups or verification, use schema-backed discovery during normal refinement/exploration. Reuse methods, supplied queries and current reviewed discoveries first. Derive only permitted SQL Server exact-key SELECTs; retain candidates, review source semantics and verify through the configured runtime before saving the discovered query document. Complete promotion before generation freeze. Required GUI checks, mutation preparation/cleanup, independent framework review and two scoped greens remain mandatory. Report saved library paths and unresolved gaps without changing verdicts or readiness.
For existing failed, flaky, changed or blocked cases, start with maintain-test to diagnose and resume this workflow without resetting source history or repair counts.
Choose the source explicitly:
/automate-test story <id> on <environment>
/automate-test suite <id> [plan <id>] on <environment>
/automate-test local <source.json> on <environment>
ADO is optional and must be explicitly configured. For a story, use the existing
npx --no pom-harness fetch-story --story <id> --revisions --source-out <consumer-path.json>
route; no suite or plan is required. Follow Tested By links by default; select other
link types only when requested. For a suite, use fetch-suite --suite <id> --revisions --plan <id> --source-out <consumer-path.json>, resolving the plan from the request
or the configured ADO default. If neither supplies it, ask for the plan ID.
Preserve fetch/refinement behavior for parameterized or incomplete cases: explicitly
refine them into neutral input before generation. Pass the neutral source through
the same workflow below. Local input requires no ADO configuration.
Preserve the original revision-bearing _suite.json snapshot for post-run bug
review. A later fetch cannot establish which source revision the run exercised.
For a reviewed test-case-design local handoff, preserve setup, explicit inputs and variations, every ordered action/expectation, and necessary cleanup. Missing business information returns for source-backed clarification; selectors and login bindings are ordinary downstream refinement.
Read the generation procedure for the executable handoff, review and verification contracts before running the pipeline:
Source → refinement → observed execution → durable POM generation
→ independent review → two independent scoped green runs → delivery readiness
api-discovery.json summary. Reuse business methods and applicable supplied
collections first; review and verify missing operations through the configured API
runtime before reuse. Follow observed API knowledge,
including authentication, extraction, effects and cleanup gaps. A collection is not
required; observations do not change expectations or authorize new destinations.
Promote reviewed knowledge/optional observed collections before CANDIDATE, and
summarize discovered, reused/verified and unresolved operations in the handoff.navigate() on directly routable pages
under page-classes practice 3; preserve source link/menu journeys and prerequisites.
Generated services can call shared API/DB library interfaces without loading an AI host.Use reporting for validated execution reports and optional Allure capture during verification. Keep the recorded verifier outcome visible above native test detail; report generation never grants delivery readiness.
Always finish with npx --no pom-harness generate report --source <source.json>
(optionally --id <source-id>), including failed, blocked and partial work. If a case
stops before a candidate exists, record its actual stage, reason and known next action
in source-bound notes, then pass --input <consumer-notes.json> under the
reporting contract.
If accepted actions or expectations are missing, retain a draft inventory with the
known case IDs/titles and original empty slots for reporting. Never invent an oracle
or prepare generation from that incomplete draft.
Use existing generation history and bound native receipts for generated cases;
notes cannot overwrite them or create passes. Link the returned html in the final
response with a brief status/count summary and clear failure/blocker reasons. When
delivering the work through a PR, also follow the
report handoff to attach its report.
Share this single case report with its Summary and Defects companions. Keep the
HTML focused on case outcomes, expectations, reasons and next actions; internal IDs,
hashes, raw records and verification-gate metadata stay in execution storage.
Generation commands also return a separate reporting delivery result. Report failure
must remain visible without changing the workflow verdict, repair count or greens.
Before finishing failed, blocked or partial exploration or verification, perform the post-run bug review through bug-report, without waiting for another invocation. Classify application, test, environment and unknown causes using the recorded source and evidence; use maintain-test for unresolved diagnosis within existing budgets. Prepare editable drafts for supported application defects, grouping related failures only with an evidence-backed reason. Present complete drafts and remaining attention items for edits, selection or deferral. Keep assertions, verdicts and repair/green counts intact. A failed automated assertion alone does not prove an application bug or an independent reproduction. Only explicitly approved previews may be filed in ADO.
Use Azure DevOps for explicitly authorized external delivery. Local sources support the complete generation/review/verification path without ADO. Legacy ADO artifact layouts remain documented in the compatibility playbook. Its historical host, catalog, parallelism and cleanup assumptions do not override the current generation procedure or approved execution policy. Do not run legacy AgenTeX commands as a prerequisite for the neutral pipeline.
What SKILL.md sets; muted values are Claude Code's defaults
24 skills in this plugin
/action-methodsUse when writing, refactoring, or reviewing an action method on a page or service class — naming a business operation, wrapping it in its Allure step, choosing what to interpolate into the step title, deciding parameters and return type, judging granularity (compose vs split), handling native dialogs, file uploads, and per-control interaction verbs, or checking an existing action for redundancy./bug-reportDraft, refine, review and optionally file a bug from a selected story and the user's description or existing execution evidence. Supports editable bug details, project-specific required/custom fields, proportionate reproduction and verified attachments./context-qaOther plugins' skills for the same job
Generated from the plugin's indexed repository (itestflow/itestflow-harness) — no native marketplace selected
npx claudepluginhub p/mahmoudelsharkawy-playwright-pom-harness