e2e-test

e2e-test is a skill for Claude Code from johnqtcg/awesome-skills. It costs 70 tokens per session (4,668 once invoked), scanned A, original, MIT.

A guide for designing and maintaining end-to-end tests, which check complete user journeys through an application. It uses Agent Browser for exploration and Playwright for test suites and continuous integration.

In plain words
What is it for?
It helps plan journey coverage, write or update Playwright tests, explore behavior, investigate flaky failures, collect test artifacts, configure CI checks, and test content inside iframes.
Why use it?
It helps make these broad tests reliable, repeatable, and useful when diagnosing failures. It also defines ways to handle flaky tests and collect evidence for regressions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It helps plan journey coverage, write or update Playwright tests, explore behavior, investigate flaky failures, collect test artifacts, configure CI checks, and test content inside iframes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/johnqtcg/awesome-skills/e2e-test
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add johnqtcg/awesome-skills --skill e2e-test
Clone the repo
git clone --depth 1 https://github.com/johnqtcg/awesome-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for e2e-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/johnqtcg/awesome-skills/e2e-test/github.svg)](https://agentmods.dev/skills/johnqtcg/awesome-skills/e2e-test)
Your own site
<a href="https://agentmods.dev/skills/johnqtcg/awesome-skills/e2e-test"><img src="https://agentmods.dev/badge/skills/johnqtcg/awesome-skills/e2e-test/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for e2e-test

Your own site · 80×15
<a href="https://agentmods.dev/skills/johnqtcg/awesome-skills/e2e-test"><img src="https://agentmods.dev/badge/skills/johnqtcg/awesome-skills/e2e-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,668 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 4
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.04668
Opus 5 $0.00035 $0.02334
Sonnet 5 $0.00014 $0.00934
Haiku 4.5 $0.00007 $0.00467

Measured 10d ago against content hash f0328535a645, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

e2e-test scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/discover_e2e_needs.sh, scripts/lint_e2e_spec.py, scripts/run_regression.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Read, Write, Grep, Glob, Bash(go test*), Bash(go vet*), Bash(npx playwright*), Bash(playwright*), Bash(npm run*), Bash(npm ci*), Bash(curl*), Bash(agent-browser*), Bash(bash scripts/*), Bash(python3 script
skills/e2e-test/SKILL.md · 471 lines

How it starts

The opening of the file, as written. The whole thing — 471 lines — stays where its author put it; the contents beside it link to each section on GitHub.

E2E test

Use this skill to create E2E coverage that is deterministic, evidence-backed, and maintainable in real repositories.

Quick Reference

If you need to… Go to
Design new E2E test coverage for a user journey §Operating Model → new journey coverage + Load references/checklists.md
Write or update Playwright tests §Runner Strategy + Load references/playwright-patterns.md
Use advanced Playwright (auth, fixtures, mocking, CI sharding) Load references/playwright-deep-patterns.md
Triage a flaky or failing E2E test §Operating Model → flaky triage + Load references/checklists.md
Use Agent Browser for exploration or repro §Runner Strategy + Load references/agent-browser-workflows.md
Design CI gates for E2E suites §Operating Model → CI gate design + Load references/environment-and-dependency-gates.md
Avoid common Playwright mistakes Load references/anti-examples.md
Test content inside an iframe (payment, editor, OAuth) Load references/playwright-deep-patterns.md §Iframes
Handle a Tauri or native-mobile app §Version and Platform Gate → Platform Scope Boundary
Check generated spec code before reporting Run python3 scripts/lint_e2e_spec.py <file.spec.ts>
See a fully worked E2E output example Load references/golden-examples.md

Do not use this skill for visual design review with no automated journey value, performance/load testing, or tests that would require guessed secrets, endpoints, or private accounts.

Load References Selectively

Load on demand, not up front. A typical Playwright coding task needs the two every-task rows plus playwright-patterns.md — three files. Everything below that is conditional; open it when the trigger in the first column actually applies.

When Load / run Contents
Every task, before coverage or gate decisions references/checklists.md 5 checklists: pre-run readiness, journey coverage, flaky triage, quarantine, result reporting
Every task, before claiming runnable references/environment-and-dependency-gates.md Readiness gates per context (local / preview / staging / CI), available vs declared vs missing, dependency matrix
Before gate decisions bash scripts/discover_e2e_needs.sh Detects runner, Node, framework, existing tests, env-var states, CI platform. Report facts, not guesses
Writing Playwright code (JS only) references/playwright-patterns.md Selector order (getByRole first), wait patterns, assertion contracts, config baseline, API-introduction + Node tables
Auth, fixtures, data isolation, mocking, iframes, sharding references/playwright-deep-patterns.md The advanced layer — large; open the section you need
A mistake not among the seven below references/anti-examples.md Extended catalog only, no overlap with §Anti-Examples here
Using Agent Browser references/agent-browser-workflows.md Commands, exploration→code conversion, repro steps, handoff format
Shaping the final report references/golden-examples.md Full output-contract examples (Playwright + Go). All figures in it are synthetic
Grading generated spec code python3 scripts/lint_e2e_spec.py <file> Deterministic check of C1–C4 / S1 / S3 / S5 / H2 + W1. Evidence, not a verdict

Read the full file on GitHub · 471 lines

Files

What ships with it

29 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 471 lines · 70 tokens per session scan A f0328535a645

Subscribe to this mod's changes

e2e-test is a skill published in the GitHub repository johnqtcg/awesome-skills (30 stars, last pushed yesterday), licensed MIT. It adds 70 tokens to every session and 4,668 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.