Skip to content

/e2e-run

Testing class

Writes test source into the repo and executes it — the only class that does both. Shared rules: CONVENTIONS-testing.md.

Detects the repo's E2E runner at runtime (Playwright, Cypress, WebdriverIO, or whatever its config points at), BLOCKs unless an explicit non-prod base URL is given, runs the suite, and captures trace, HAR, video and console into a gitignored temp dir. Raw artifacts never leave that dir; anything published is scrubbed first.

At a glance

Run it /e2e-run
Class testing
Version 0.2.0
Author navjyotnishant
Needs nj-run (this toolkit, bin/) · the repo's own E2E runner · the runner's trace/video flags · gitleaks or trufflehog or detect-secrets
Source skills/e2e-run/SKILL.md

What it needs, and what happens without it

Every tool is detected at runtime — none is installed for you.

Tool Without it
nj-run (this toolkit, bin/) hand-write the manifest per §T13; report that cost and log fields are missing
the repo's own E2E runner SKIP with a labeled reason — never installed, never substituted
the runner's trace/video flags run anyway, report which evidence was unavailable
gitleaks or trufflehog or detect-secrets BLOCK before publishing anything — no heuristic-only fallback

Agents it spawns

This skill spawns no subagents — it runs inline.

The procedure

The executable steps live in the skill file itself and are deliberately not reproduced here: they are instructions to the model at runtime, not documentation.

Read e2e-run/SKILL.md →