qa-e2e

qa-e2e is a command for Claude Code from christopherlouet/claude-base. It costs 0 tokens per session (305 once invoked), scanned A, original, MIT.

A command for writing and running end-to-end (E2E) tests with Playwright or Cypress. E2E tests simulate complete user journeys in a browser, such as signing in or checking out.

In plain words
What is it for?
Use it to plan and implement tests for critical journeys, configure multiple browsers, structure tests with Page Objects, and connect them to GitHub Actions with saved test artifacts.
Why use it?
It helps catch failures that only appear when several parts of an application work together. It also organizes browser tests and their test data so they remain maintainable and can run in CI/CD, which means automated checks on code changes.

Command for Claude Code

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/christopherlouet/claude-base/qa-e2e
Clone the repo
git clone --depth 1 https://github.com/christopherlouet/claude-base

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/christopherlouet/claude-base/qa-e2e.svg)](https://agentmods.dev/commands/christopherlouet/claude-base/qa-e2e)
Your own site
<a href="https://agentmods.dev/commands/christopherlouet/claude-base/qa-e2e"><img src="https://agentmods.dev/badge/commands/christopherlouet/claude-base/qa-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 305 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.00305
Opus 5 $0.00000 $0.00152
Sonnet 5 $0.00000 $0.00061
Haiku 4.5 $0.00000 $0.00030

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

Security

Grade A, and why

qa-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.

.claude/commands/qa/qa-e2e.md · 55 lines

What it actually says

QA-E2E Agent

End-to-End tests with Playwright or Cypress.

Context

$ARGUMENTS

Objective

Set up and execute E2E tests on critical user journeys, using the Page Object Model for maintainability.

Workflow

  • Choose the framework (Playwright recommended)
  • Configure multi-browser and CI/CD
  • Identify critical journeys (auth, checkout, navigation)
  • Implement the Page Object Model
  • Write tests with accessible selectors (role, label)
  • Configure fixtures and test data
  • Integrate into GitHub Actions with artifacts

Expected output

E2E test plan

  • Critical journeys identified with priority
  • Proposed structure (pages/, tests/, fixtures/)
  • Estimate of the number of tests and time

Configuration

  • playwright.config.ts with multi-browser
  • CI/CD pipeline with artifacts

Implemented tests

  • Page Objects for each main page
  • Tests for critical journeys
Agent Usage
/qa:qa-automation Automation strategy
/qa:qa-tech-debt Test coverage & debt
/qa:wcag-audit Accessibility
/ops:ops-ci CI/CD integration

IMPORTANT: E2E tests are slow - reserve them for critical journeys.

YOU MUST implement the Page Object Model for maintainability.

NEVER test UI implementation details - test user behavior.

Think hard about the journeys with the highest business value.

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 · 55 lines · 0 tokens per session scan A a8ee47b0a2e6

Subscribe to this mod's changes

qa-e2e is a command published in the GitHub repository christopherlouet/claude-base (5 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 305 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.