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.
npx skills add sjarmak/coding-agent-workflows --skill e2e-testinggit clone --depth 1 https://github.com/sjarmak/coding-agent-workflowsWrote 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.
[](https://agentmods.dev/skills/sjarmak/coding-agent-workflows/e2e-testing)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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(), neverwaitForTimeout(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:
- Confirm it with a repeat run (
--repeat-each=10or equivalent). - Quarantine it explicitly (
test.fixme/test.skip) with a tracked issue reference in the reason — never a bare skip that disappears silently. - 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.
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.
- 3mo ago First seen · 63 lines · 68 tokens per session scan A 1f1777d151ac
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.
e2e-testing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| e2e-testingsjarmak/coding-agent-workflows | Skill | 7 | 6d ago | MIT | A | 68 | Claude Code, Codex |
| browser-tracemxyhi/ok-skills | Skill | 519 | 13d ago | Apache-2.0 | A | 88 | Claude Code |
| planning-with-filesmxyhi/ok-skills | Skill | 519 | 13d ago | Apache-2.0 | A | 117 | Claude Code |
| bopomofo-rescuemxyhi/ok-skills | Skill | 519 | 13d ago | Apache-2.0 | A | 332 | Claude Code |
| appbuilder-e2e-testingadobe/skills | Skill | 343 | today | Apache-2.0 | A | 144 | Claude Code |
| testing-blocksadobe/skills | Skill | 343 | today | Apache-2.0 | A | 114 | Claude Code |
| check-coveragesd0xdev/sd0x-harness | Skill | 196 | 8d ago | MIT | A | 27 | Claude Code |