e2e-testing

e2e-testing is a skill for Claude Code, Codex from sjarmak/coding-agent-workflows. It costs 68 tokens per session (704 once invoked), scanned A, original, MIT.

A guide for end-to-end tests, which test complete user journeys through the whole application, such as signing in and creating a record.

In plain words
What is it for?
Planning critical journeys, writing stable browser tests, handling flaky tests, and collecting failure evidence.
Why use it?
It helps teams focus on important flows and avoid unreliable tests caused by fragile page selectors or fixed waiting times.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Planning critical journeys, writing stable browser tests, handling flaky tests, and collecting failure evidence.

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

Made for: Claude Code, Codex.

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/sjarmak/coding-agent-workflows/e2e-testing/github.svg)](https://agentmods.dev/skills/sjarmak/coding-agent-workflows/e2e-testing)
Your own site
<a href="https://agentmods.dev/skills/sjarmak/coding-agent-workflows/e2e-testing"><img src="https://agentmods.dev/badge/skills/sjarmak/coding-agent-workflows/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/sjarmak/coding-agent-workflows/e2e-testing"><img src="https://agentmods.dev/badge/skills/sjarmak/coding-agent-workflows/e2e-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 704 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.00068 $0.00704
Opus 5.5 $0.00027 $0.00282
Sonnet 5.5 $0.00014 $0.00141
Haiku 4.5 $0.00007 $0.00070

Measured 3mo ago against content hash 1f1777d151ac, 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 3mo 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.

source/skills/e2e-testing/SKILL.md · 63 lines

How it starts

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

E2E Testing

End-to-end tests are the last line of defense before production: they exercise real user journeys across the whole stack and catch integration failures unit tests structurally cannot. Keep the suite small, critical, and stable — a flaky E2E suite that nobody trusts is worse than none.

Define journeys by risk

Test journeys, not pages. A journey is a full user-visible flow (sign in → create → see it persist). Rank them and cover top-down; do not chase 100% of screens.

  • HIGH — money, auth, data loss (payment, login, delete/restore)
  • MEDIUM — core navigation, search, primary CRUD
  • LOW — cosmetic/UI polish (usually not worth an E2E test)

For each journey cover the happy path first, then the one or two error paths that would actually hurt (declined payment, expired session).

Write for stability

  • Semantic locators only. [data-testid="…"] > role/label > CSS > XPath. A test tied to DOM structure breaks on every refactor; one tied to intent does not.
  • Wait for conditions, never for time. waitForResponse() / expect(...).toBeVisible(), never waitForTimeout(3000). Time-based waits are the single largest source of flake and they silently slow the suite.
  • Isolate every test. No shared state, no order dependence; each test sets up and tears down its own data so it can run alone and in parallel.
  • Assert at each key step, not just at the end, so a failure points at the step that broke.

Quarantine flake, don't ignore it

A flaky test that stays green-ish erodes trust in the whole suite. When a test flakes:

  1. Confirm it with a repeat run (--repeat-each=10 or equivalent).
  2. Quarantine it explicitly (test.fixme/test.skip) with a tracked issue reference in the reason — never a bare skip that disappears silently.
  3. Fix the root cause (usually a time-wait, a race, or shared state), then un-quarantine. Quarantine is a holding cell, not a graveyard.

Capture artifacts on failure

Configure screenshots, video, and traces to record on failure/first-retry (not always — artifacts are expensive). On CI, upload them and put the artifact path in the failure report so a red run is debuggable without a local repro.

Read the full file on GitHub · 63 lines

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. 3mo ago First seen · 63 lines · 68 tokens per session scan A 1f1777d151ac

Subscribe to this mod's changes

e2e-testing is a skill published in the GitHub repository sjarmak/coding-agent-workflows (7 stars, last pushed 6d ago), licensed MIT. It adds 68 tokens to every session and 704 once invoked, about $0.0003 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-08-31.

Related

e2e-testing compared with skills from other repositories

e2e-testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
e2e-testingsjarmak/coding-agent-workflowsSkill76d agoMITA68Claude Code, Codex
browser-tracemxyhi/ok-skillsSkill51913d agoApache-2.0A88Claude Code
planning-with-filesmxyhi/ok-skillsSkill51913d agoApache-2.0A117Claude Code
bopomofo-rescuemxyhi/ok-skillsSkill51913d agoApache-2.0A332Claude Code
appbuilder-e2e-testingadobe/skillsSkill343todayApache-2.0A144Claude Code
testing-blocksadobe/skillsSkill343todayApache-2.0A114Claude Code
check-coveragesd0xdev/sd0x-harnessSkill1968d agoMITA27Claude Code