e2e-test-run

e2e-test-run is a command for Claude Code from TheLobbi/claude. It costs 20 tokens per session (4,761 once invoked), scanned A, original, MIT.

A command that runs end-to-end tests for Lobbi, a member-management system, using Playwright, a browser-testing tool. It supports test-suite selection, parallel or sequential runs, screenshots and videos on failures, and HTML reports.

In plain words
What is it for?
Use it to test login, member management, subscriptions, browser compatibility, and separation between different organizations.
Why use it?
It checks complete user journeys across the application instead of testing isolated functions, while preserving evidence when a test fails.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: positional $N argument.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/user/alpha-0.1/tests/e2e/playwright.config.ts.

Part of the claude-orchestration plugin — 6 skills, 133 commands, 9 agents, 8 hooks, 6 plugins shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add TheLobbi/claude
Claude Code
/plugin install claude-orchestration

Made for: Claude Code.

Or install claude-orchestration, the plugin that ships this one along with the rest of its 6 skills, 133 commands, 9 agents, 8 hooks, 6 plugins.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/thelobbi/claude/e2e-test-run.svg)](https://agentmods.dev/commands/thelobbi/claude/e2e-test-run)
Your own site
<a href="https://agentmods.dev/commands/thelobbi/claude/e2e-test-run"><img src="https://agentmods.dev/badge/commands/thelobbi/claude/e2e-test-run.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 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,761 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.1 $0.00020 $0.04761
Opus 5 $0.00010 $0.02380
Sonnet 5 $0.00004 $0.00952
Haiku 4.5 $0.00002 $0.00476

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

Security

Grade A, and why

e2e-test-run scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -f http://localhost:8080/health/ready || { echo "ERROR: Keycloak not ready"; exit 1; }
.claude/commands/e2e-test-run.md · 707 lines

How it starts

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

E2E Test Runner

Execute comprehensive end-to-end tests for the Lobbi member management system using Playwright, including authentication flows, member management, subscription handling, and multi-tenant isolation.

Usage

/e2e-test-run [suite] [options]

Description

This command orchestrates E2E testing by:

  • Setting up isolated test environment
  • Provisioning test organizations and users
  • Executing test suites in parallel or sequentially
  • Capturing screenshots and videos on failures
  • Generating detailed HTML reports
  • Cleaning up test data automatically
  • Supporting multiple browsers (Chromium, Firefox, WebKit)

Prerequisites

Required Services:

  • Keycloak running in test mode
  • MongoDB test database
  • Redis test instance
  • Member API running on test port
  • Frontend application built and served

Environment Variables:

# Test environment
NODE_ENV=test
TEST_BASE_URL=http://localhost:3001
TEST_KEYCLOAK_URL=http://localhost:8080
TEST_DATABASE_URL=mongodb://admin:admin@localhost:27017/member_db_test?authSource=admin
TEST_REDIS_URL=redis://localhost:6379/1

# Test credentials
[email protected]
TEST_ADMIN_PASSWORD=TestPassword123!
[email protected]
TEST_MEMBER_PASSWORD=TestPassword123!

# Playwright configuration
PLAYWRIGHT_BROWSERS_PATH=/home/user/.cache/ms-playwright
HEADLESS=true
SLOWMO=0  # Slow down tests (ms) for debugging

Install Dependencies:

# Install Playwright and browsers
npm install -D @playwright/test
npx playwright install --with-deps chromium firefox webkit

# Install test utilities
npm install -D @faker-js/faker dotenv

Test Suites

Available Test Suites

  1. auth - Authentication and authorization tests
  2. members - Member CRUD operations
  3. subscriptions - Subscription management flows
  4. multi-tenant - Tenant isolation and data segregation
  5. admin - Admin portal functionality
  6. api - API endpoint testing
  7. full - Complete test suite (all of the above)

Read the full file on GitHub · 707 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 · 707 lines · 20 tokens per session scan A 8e46ee1df212

Subscribe to this mod's changes

e2e-test-run is a command published in the GitHub repository TheLobbi/claude (21 stars, last pushed yesterday), licensed MIT. It adds 20 tokens to every session and 4,761 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.