run-e2e

run-e2e is a command for coding agents from rohitg00/awesome-claude-code-toolkit. It costs 0 tokens per session (326 once invoked), scanned A, original, Apache-2.0.

A command for running end-to-end tests with Playwright, Cypress, or Selenium. These tests exercise the application through a browser as a user would.

In plain words
What is it for?
Use it to run the whole end-to-end suite or selected tests, capture screenshots for failures, and review likely timeout, selector, or assertion problems.
Why use it?
It gathers pass, failure, skip, timing, and error details in one run, making browser-test failures easier to investigate.

Command

Part of the e2e-runner plugin — 2 commands shipped together

About the project

Awesome Claude Code Toolkit is a curated collection of extensions and configuration for Claude Code, including agents, skills, commands, plugins, hooks, rules, templates, MCP configurations, and companion apps. It is for Claude Code users who want ready-made workflows and integrations for different development tasks. The catalogue add-ons are selected components from this toolkit.

rohitg00/awesome-claude-code-toolkit · 2,585 stars · on GitHub

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 commands/rohitg00/awesome-claude-code-toolkit/run-e2e
Clone the repo
git clone --depth 1 https://github.com/rohitg00/awesome-claude-code-toolkit

Or install e2e-runner, the plugin that ships this one along with the rest of its 2 commands.

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 run-e2e

README.md
[![agentmods](https://agentmods.dev/badge/commands/rohitg00/awesome-claude-code-toolkit/run-e2e.svg)](https://agentmods.dev/commands/rohitg00/awesome-claude-code-toolkit/run-e2e)
Your own site
<a href="https://agentmods.dev/commands/rohitg00/awesome-claude-code-toolkit/run-e2e"><img src="https://agentmods.dev/badge/commands/rohitg00/awesome-claude-code-toolkit/run-e2e.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 326 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.00000 $0.00326
Opus 5 $0.00000 $0.00163
Sonnet 5 $0.00000 $0.00065
Haiku 4.5 $0.00000 $0.00033

Measured yesterday against content hash cfde35099ad3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

run-e2e 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 yesterday.

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.

plugins/e2e-runner/commands/run-e2e.md · 27 lines

What it actually says

/run-e2e - Execute End-to-End Tests

Run end-to-end tests against the application using Playwright or Cypress.

Steps

  1. Detect the e2e framework in use (Playwright, Cypress, or Selenium) by checking package.json and config files
  2. Verify the test configuration file exists (playwright.config.ts, cypress.config.js, etc.)
  3. Check if the application server is running; if not, identify the start command
  4. List all e2e test files matching the pattern **/*.e2e.{ts,js} or **/*.spec.{ts,js} in the e2e/test directory
  5. If a specific test file or pattern is provided, filter to those tests only
  6. Run the test suite with verbose output and capture results
  7. Parse test output for pass/fail counts and timing information
  8. For any failing tests, extract the error message, screenshot path, and stack trace
  9. Present a summary table: total tests, passed, failed, skipped, duration
  10. If failures exist, suggest fixes based on error patterns (timeout, selector, assertion)

Rules

  • Always run tests in headless mode unless the user explicitly requests headed mode
  • Set a default timeout of 30 seconds per test unless configured otherwise
  • Capture screenshots on failure automatically
  • Do not modify test files without explicit permission
  • Report flaky tests if a test passes on retry but failed initially
  • Ensure the base URL matches the running application port
  • Clean up any test artifacts older than 7 days
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. yesterday First seen · 27 lines · 0 tokens per session scan A cfde35099ad3

Subscribe to this mod's changes

run-e2e is a command published in the GitHub repository rohitg00/awesome-claude-code-toolkit (2,585 stars, last pushed 3mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 326 tokens. 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-09-03.