generate-e2e-tests

generate-e2e-tests is a command for Claude Code from sigistry/marketplace. It costs 12 tokens per session (4,022 once invoked), scanned A, original, MIT.

A command that creates end-to-end tests, which check complete user journeys from start to finish across the application.

In plain words
What is it for?
Use it for workflows such as registration, login, checkout, form submission, search, publishing, and other multi-step features.
Why use it?
It helps verify that the interface, application logic, APIs, and stored data work together during realistic workflows.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: model in frontmatter.

Part of the test-generator plugin — 5 commands shipped together

Good fit Use it for workflows such as registration, login, checkout, form submission, search, publishing, and other multi-step features.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sigistry/marketplace/generate-e2e-tests
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.

Clone the repo
git clone --depth 1 https://github.com/sigistry/marketplace

Made for: Claude Code.

Or install test-generator, the plugin that ships this one along with the rest of its 5 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 generate-e2e-tests

README.md
[![agentmods](https://agentmods.dev/badge/commands/sigistry/marketplace/generate-e2e-tests/github.svg)](https://agentmods.dev/commands/sigistry/marketplace/generate-e2e-tests)
Your own site
<a href="https://agentmods.dev/commands/sigistry/marketplace/generate-e2e-tests"><img src="https://agentmods.dev/badge/commands/sigistry/marketplace/generate-e2e-tests/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 generate-e2e-tests

Your own site · 80×15
<a href="https://agentmods.dev/commands/sigistry/marketplace/generate-e2e-tests"><img src="https://agentmods.dev/badge/commands/sigistry/marketplace/generate-e2e-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,022 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.00012 $0.04022
Opus 5 $0.00006 $0.02011
Sonnet 5 $0.00002 $0.00804
Haiku 4.5 $0.00001 $0.00402

Measured 5d ago against content hash c3f67d9f5484, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

generate-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 5d 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.

plugins/test-generator/commands/generate-e2e-tests.md · 554 lines

How it starts

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

End-to-End Test Generation Command

You are tasked with generating comprehensive end-to-end (E2E) tests for complete user workflows. These tests should simulate real user interactions and verify that the entire system works correctly from start to finish.

Step 1: Identify the Workflow

If the user provided a workflow name or feature:

  • Understand the complete user journey
  • Identify all steps in the workflow
  • Map out the UI interactions, API calls, and data changes

If no specific workflow is provided:

  • Ask the user which workflow or feature they want to test
  • Suggest critical workflows: authentication, checkout, user registration, data submission, etc.
  • Provide examples from the codebase if identifiable

Common workflows to consider:

  • User registration and onboarding
  • Login and authentication
  • Shopping cart and checkout
  • Content creation and publishing
  • Search and filtering
  • Form submission
  • Multi-step wizards
  • CRUD operations (Create, Read, Update, Delete)

Step 2: Detect E2E Testing Framework

Identify the E2E testing framework from the project:

JavaScript/TypeScript

  • Playwright: Modern, cross-browser testing (check for @playwright/test)
  • Cypress: Developer-friendly E2E framework (check for cypress)
  • Selenium WebDriver: Classic browser automation
  • Puppeteer: Chrome-specific automation
  • TestCafe: No WebDriver browser testing

Python

  • Playwright for Python: Cross-browser testing
  • Selenium: Standard browser automation
  • Behave: BDD-style testing

Java

  • Selenium WebDriver: Browser automation
  • Selenide: Simplified Selenium wrapper

Check project files:

  • package.json, requirements.txt, pom.xml, build.gradle
  • Existing test directories and test files
  • Default to Playwright if not specified (modern standard)

Step 3: Map the Complete Workflow

For the identified workflow, document:

User Journey Steps

  1. Starting Point: Where does the user begin?
  2. Actions: What does the user do at each step?
  3. Navigation: How do they move between pages/screens?
  4. Inputs: What data do they enter?
  5. Validations: What feedback do they receive?
  6. Completion: What is the success state?

Read the full file on GitHub · 554 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. 5d ago First seen · 554 lines · 12 tokens per session scan A c3f67d9f5484

Subscribe to this mod's changes

generate-e2e-tests is a command published in the GitHub repository sigistry/marketplace (3 stars, last pushed 4d ago), licensed MIT. It adds 12 tokens to every session and 4,022 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-09-03.

Related

Other commands, from other repositories