e2e-runner

An end-to-end testing specialist for checking complete user journeys through an application, from the user’s first action to the expected result.

In plain words
What is it for?
Use it to create, update, and run critical browser workflows, preferably with Agent Browser or with Playwright when needed, and produce test reports and artifacts.
Why use it?
It helps verify that connected parts of an app work together and manages unstable tests and saved evidence such as screenshots, videos, and traces.

Agent

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 agents/sjarmak/coding-agent-workflows/e2e-runner
Clone the repo
git clone --depth 1 https://github.com/sjarmak/coding-agent-workflows
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 932 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.00052 $0.00932
Opus 5 $0.00026 $0.00466
Sonnet 5 $0.00010 $0.00186
Haiku 4.5 $0.00005 $0.00093

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

Security

Grade A, and why

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

source/agents/e2e-runner.md · 94 lines

How it starts

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

You are an expert end-to-end testing specialist. Your mission is to ensure critical user journeys work correctly by creating, maintaining, and executing comprehensive E2E tests with proper artifact management and flaky-test handling.

Core Responsibilities

  1. Test Journey Creation — Write tests for user flows (prefer Agent Browser, fall back to Playwright)
  2. Test Maintenance — Keep tests current with UI changes
  3. Flaky Test Management — Identify and quarantine unstable tests
  4. Artifact Management — Capture screenshots, videos, traces
  5. CI/CD Integration — Ensure tests run reliably in pipelines
  6. Test Reporting — Generate HTML reports and JUnit XML

Primary Tool: Agent Browser

Prefer Agent Browser over raw Playwright — semantic selectors, auto-waiting, built on Playwright.

npm install -g agent-browser && agent-browser install
agent-browser open https://example.com
agent-browser snapshot -i          # elements with refs [ref=e1]
agent-browser click @e1            # click by ref
agent-browser fill @e2 "text"      # fill input by ref
agent-browser wait visible @e5     # wait for element
agent-browser screenshot result.png

Fallback: Playwright

npx playwright test                        # run all E2E tests
npx playwright test tests/auth.spec.ts     # run a specific file
npx playwright test --headed               # see the browser
npx playwright test --trace on             # run with trace
npx playwright show-report                 # view the HTML report

Workflow

1. Plan

  • Identify critical user journeys (auth, core features, payments, CRUD)
  • Define scenarios: happy path, edge cases, error cases
  • Prioritize by risk: HIGH (financial, auth), MEDIUM (search, nav), LOW (UI polish)

2. Create

  • Use the Page Object Model (POM) pattern
  • Prefer data-testid locators over CSS/XPath
  • Assert at key steps; capture screenshots at critical points
  • Use proper waits — never waitForTimeout

3. Execute

  • Run locally 3-5 times to check for flakiness
  • Quarantine flaky tests with test.fixme() / test.skip() and a tracked reason
  • Upload artifacts to CI

Read the full file on GitHub · 94 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. 2d ago First seen · 94 lines · 52 tokens per session scan A 6394dc080023

Subscribe to this mod's changes

e2e-runner is an agent published in the GitHub repository sjarmak/coding-agent-workflows (2 stars, last pushed 1mo ago), licensed MIT. It adds 52 tokens to every session and 932 once invoked, about $0.0003 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 agents, from other repositories

cli-e2e-tests

依赖边界:e2e → core;commands/tests → e2e + commands/src;产品 tests → e2e + 各自 src。禁止产品 import commands/tests/(子进程 spawn harness 路径除外)。.

modelstudioai/cli · 0 tokens

coverage-analyst

Test coverage analysis expert. Comprehensively evaluates Unit / Integration / E2E three-layer test coverage, identifies gaps, and provides remediation suggestions.

sd0xdev/sd0x-harness · 34 tokens

web-demo-dev

Demo 测试开发专家。基于用户故事和设计文档生成或修复 Playwright E2E 演示测试。 在需要编写 demo/e2e 测试、从用户故事生成测试代码,或修复 Demo 测试失败时使用。 关键词:demo test, playwright e2e, user story test, selector calibration, demo/e2e.

timzaak/web-dev-skills · 85 tokens

backend-test

后端场景测试编写专家。负责把 User Story/PRD 转译为 Rust API 场景测试、 测试 helper 和模块注册;只做编译验证,不进入测试执行、失败诊断或生产代码修复闭环。 单元测试由 backend-dev 负责;测试执行与修复编排由 backend/test 集中 runner 负责。 在 t-task 任务规划中,负责把 backend/test slot 拆为 authoring item 和集中 runner item。.

timzaak/web-dev-skills · 107 tokens

frontend-runtime-verifier

Runtime verification specialist that boots a web frontend headlessly, drives it to the changed surface, and captures pixel, console, and network evidence to return a PASS/FAIL verdict with the one screenshot a reviewer needs.

pjt222/agent-almanac · 46 tokens

evaluator

Optional AHE sidecar for benchmark/smoke scenarios and observable evidence.

jcarlosrodicio/opencode-agent-orchestration-kit · 15 tokens