e2e-testing

e2e-testing is a skill for Claude Code from bartstc/vite-ts-react-template. It costs 49 tokens per session (1,279 once invoked), scanned A, original, MIT.

A Playwright guide for end-to-end (E2E) tests, which check a complete user journey across pages and real API calls. It covers journey tests and the page objects, fixtures, and forms they use.

In plain words
What is it for?
Use it to write, review, or refactor Playwright tests for routing, authentication, UI-to-API behavior, and state that must survive navigation or reload.
Why use it?
It helps you choose E2E tests only for critical paths instead of using them for cases better covered by unit or story tests. It also documents rules for data isolation, mocking, waiting, and avoiding flaky tests.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to write, review, or refactor Playwright tests for routing, authentication, UI-to-API behavior, and state that must survive navigation or reload.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bartstc/vite-ts-react-template/e2e-testing
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 bartstc/vite-ts-react-template --skill e2e-testing
Clone the repo
git clone --depth 1 https://github.com/bartstc/vite-ts-react-template

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-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/bartstc/vite-ts-react-template/e2e-testing/github.svg)](https://agentmods.dev/skills/bartstc/vite-ts-react-template/e2e-testing)
Your own site
<a href="https://agentmods.dev/skills/bartstc/vite-ts-react-template/e2e-testing"><img src="https://agentmods.dev/badge/skills/bartstc/vite-ts-react-template/e2e-testing/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-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/bartstc/vite-ts-react-template/e2e-testing"><img src="https://agentmods.dev/badge/skills/bartstc/vite-ts-react-template/e2e-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,279 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00049 $0.01279
Opus 5.5 $0.00020 $0.00512
Sonnet 5.5 $0.00010 $0.00256
Haiku 4.5 $0.00005 $0.00128

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

Security

Grade A, and why

e2e-testing scanned grade A with 0 findings 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 2d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/e2e-testing/SKILL.md · 86 lines

How it starts

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

E2E Testing

How to write a Playwright E2E test in this repo: the journey test, and the pieces it is built from. This skill is self-sufficient for writing and reviewing tests. The reasoning behind it (tier ownership, data isolation, mocking, flakiness) is in docs/tests/e2e-testing.md — read it only for a case this skill does not cover. When the doc, this file and a reference disagree, fix whichever is wrong.

How to use

  1. Choose the tier. E2E only for a critical path (one whose breakage would trigger a rollback) that crosses pages or depends on the real API: routing and guards, auth, the UI-to-API contract, state surviving navigation or reload. A branch, a validation rule, an empty/error state or a variant of one screen is a story or unit test — say so and stop. Walking through a screen a story also covers is fine; re-enumerating its states is not.
  2. Write the journey test. Read journey-test.md.
  3. Build the pieces it needs. Read the reference for each piece you add or change. Read the UI under test for its roles and accessible names.
Piece When Reference
Journey test Every test in a *.spec.ts journey-test.md
Waiting and assertions Every step and readiness check waiting-and-assertions.md
Page / component object A page or shared UI the test drives page-objects.md
Fixture Providing a page object, or seeding data via the API fixtures.md
Forms A page object fills or submits a form forms.md
Anti-patterns Reviewing or refactoring anti-patterns.md

Read the full file on GitHub · 86 lines

Files

What ships with it

6 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. 2d ago Changed 19cb1b0a3607
  2. 19d ago First seen · 86 lines · 49 tokens per session scan A a8f378f1cf1d

Subscribe to this mod's changes

e2e-testing is a skill published in the GitHub repository bartstc/vite-ts-react-template (124 stars, last pushed 2d ago), licensed MIT. It adds 49 tokens to every session and 1,279 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-12.

Related

e2e-testing compared with skills from other repositories

e2e-testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
e2e-testingbartstc/vite-ts-react-templateSkill1242d agoMITA49Claude Code
test-electron-appPostHog/posthogSkill41ktodaynoneA112Claude Code
weapp-vite-react-best-practicesweapp-vite/weapp-viteSkill529todayMITA103Codex
typescript-reactmkosir/typescript-style-guideSkill7892mo agoMITA50Claude Code, Codex
systematic-debuggingDDS-Solutions/AI-TadPole-OSSkill95d agoMITA33Claude Code
webapp-testingDDS-Solutions/AI-TadPole-OSSkill95d agoMITA28Claude Code
gitDaleStudy/skillsSkill426d agoMITA132Claude Code