e2e-tests

A guide for writing Playwright end-to-end tests, which simulate complete user journeys through an application.

In plain words
What is it for?
Creating tests with setup, user interactions, assertions, cleanup, reusable page objects, and protections against flaky waits.
Why use it?
It helps verify that critical flows work across pages, forms, APIs, and application state without relying on fragile test steps.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/amelmo/loadout/e2e-tests
Any agent
npx skills add AmElmo/loadout --skill e2e-tests
Clone the repo
git clone --depth 1 https://github.com/AmElmo/loadout

Made for: Claude Code, Codex.

Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 178 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00018 $0.00178
Opus 5 $0.00009 $0.00089
Sonnet 5 $0.00004 $0.00036
Haiku 4.5 $0.00002 $0.00018

Measured 2d ago against content hash 4550c6abed0c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

e2e-tests 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.

fixtures/home/projects/acme-app/.claude/skills/e2e-tests/SKILL.md · 20 lines

What it actually says

E2E Test Writer

Given a user flow description, generate a Playwright e2e test:

  1. Setup: Auth state, test data seeding, environment prep
  2. Steps: Navigate, interact, fill forms, click buttons
  3. Assertions: Verify page content, URL changes, API responses, toast messages
  4. Teardown: Clean up test data, reset state
  5. Resilience: Use data-testid selectors, avoid flaky waits, retry on network

Follow the Page Object Model pattern for reusable page interactions. Group related tests in describe blocks with clear names.

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 First seen · 20 lines · 18 tokens per session scan A 4550c6abed0c

Subscribe to this mod's changes

e2e-tests is a skill published in the GitHub repository AmElmo/loadout (9 stars, last pushed 4mo ago), licensed MIT. It adds 18 tokens to every session and 178 once invoked, about $0.0001 per session on Opus 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-08-31.

Related

Other skills, from other repositories

new-plugin

Factory line for adding a new HAR verification plugin (like playwright or rocketsim) for any framework — research the framework docs, build the template under src/templates/plugins/, register it everywhere, validate on a real repository, and open a PR. Use when asked to add/create a plugin, plugin template, or…

os-factory/har · 89 tokens

kb-refresh

Add new sources to your knowledge base or re-scrape existing ones to pick up changes. Supports Notion, Slack, Confluence, and local files. Can be run anytime after /setup-knowledge-base.

techwolf-ai/ai-first-toolkit · 46 tokens

seo-audit

When the user wants to audit or diagnose SEO issues — "technical SEO," "why am I not ranking," "meta tags review," "my traffic dropped," "Google update hit me," "core web vitals," "crawl errors," "indexing issues," or even a vague "my SEO is bad." For pages at scale, see programmatic-seo. For structured data, see…

rajitsaha/100xprism · 96 tokens

testing

Design and execute automated tests, regression tests, integration tests, end-to-end tests, and verification using framework-agnostic principles.

soden46/engineer-flow · 28 tokens

playwright-cli

Automate browser interactions, test web pages and work with Playwright tests.

jan-bogaerts/md2 · 19 tokens

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications. Generates creative, polished code that avoids generic AI aesthetics.

rwliebs/Dossier · 47 tokens