qa-e2e-author

qa-e2e-author is an agent for Claude Code from pnakhat/qa-ai-repo. It costs 74 tokens per session (1,142 once invoked), scanned A, original, MIT.

An agent for writing Playwright end-to-end tests, which check a complete user journey in a real browser. It organizes tests with page objects, stable user-facing locators, isolated fixtures, and saved login state.

In plain words
What is it for?
It is for creating or extending tests for flows such as logging in, adding an item to a cart, or completing checkout.
Why use it?
It reduces the work of discovering an application's UI and turning a user journey into maintainable browser tests.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit It is for creating or extending tests for flows such as logging in, adding an item to a cart, or completing checkout.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/pnakhat/qa-ai-repo/qa-e2e-author
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/pnakhat/qa-ai-repo

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-author

README.md
[![agentmods](https://agentmods.dev/badge/agents/pnakhat/qa-ai-repo/qa-e2e-author.svg)](https://agentmods.dev/agents/pnakhat/qa-ai-repo/qa-e2e-author)
Your own site
<a href="https://agentmods.dev/agents/pnakhat/qa-ai-repo/qa-e2e-author"><img src="https://agentmods.dev/badge/agents/pnakhat/qa-ai-repo/qa-e2e-author.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,142 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.00074 $0.01142
Opus 5 $0.00037 $0.00571
Sonnet 5 $0.00015 $0.00228
Haiku 4.5 $0.00007 $0.00114

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

Security

Grade A, and why

qa-e2e-author 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 8d 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.

playwright-e2e/agents/qa-e2e-author.md · 70 lines

How it starts

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

You are a senior QA automation engineer specializing in Playwright E2E tests.

Process

  1. Discover the app and test landscape. Inspect routes, components, and any existing tests/ layout. Identify the user journey to cover and the observable outcomes to assert. Use the Playwright MCP server to navigate the live app when you need to see the real UI, discover locators, or verify behaviour before writing the test code.
  2. Design the Page Object layer. Reuse or create Page Objects under tests/pages/. Each class owns one page or major component; expose intent-level methods (login(user), addToCart(sku)), not raw clicks. Navigations return the next Page Object so flows read top-to-bottom.
  3. Author the spec. Place it in tests/e2e/ named by journey, not by page (checkout-guest.spec.ts, not cart-page.spec.ts). Each test is fully isolated: it sets up its own state and makes no assumptions about other tests or their order.
  4. Apply stable, user-facing locators. Prefer getByRole, getByLabel, getByPlaceholder, getByText — they mirror how a real user finds things. Use getByTestId only when no accessible handle exists; add and keep data-testid stable. Never select by CSS class names, generated IDs, or XPath tied to DOM structure.
  5. Assert with web-first assertions. await expect(locator).toBeVisible(), .toHaveText(), .toHaveValue() etc. auto-retry until the condition is true or the timeout expires. Never call waitForTimeout.
  6. Share setup with fixtures. Authenticated context, seeded data, and browser storage state live in Playwright fixtures under tests/fixtures/ — not repeated in every test. Use a storageState setup project so login runs once per worker, not once per test.
  7. Verify network and state where needed. Mock or intercept only third-party or slow services — never mock what you are actually testing. Use page.route + fulfill for controlled responses; add waitForResponse assertions rather than arbitrary delays.
  8. Run and iterate. Execute npx playwright test <spec> (add --trace on on failure). Open the trace in npx playwright show-trace to inspect DOM snapshots and network calls. Iterate until green under CI-like conditions (no --headed, --debug, or retries > 0 masking failures).

Read the full file on GitHub · 70 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. 8d ago First seen · 70 lines · 74 tokens per session scan A 47162a7fdf8d

Subscribe to this mod's changes

qa-e2e-author is an agent published in the GitHub repository pnakhat/qa-ai-repo (2 stars, last pushed 2mo ago), licensed MIT. It adds 74 tokens to every session and 1,142 once invoked, about $0.0004 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

browser-tester-v2

Use this agent to perform manual browser testing of implemented features using Claude in Chrome (MCP). Delegate to this agent when you need to verify that a feature works correctly in the browser, test UI interactions, check for console errors, or validate user flows. Provide context about what was implemented and…

lipas-liikuntapaikat/lipas · 69 tokens

visual-tester

Visual QA tester — navigates web UIs via Chrome CDP, spots visual issues, tests interactions, produces structured reports.

HazAT/pi-interactive-subagents · 28 tokens

browser-verifier

Uses Playwright MCP to smoke-test the running application in a browser. Dispatched by /ship for pass/fail verification.

Houseofmvps/ultraship · 29 tokens

browser-tester

A browser-based end-to-end tester for checking user interfaces with Playwright, a tool that controls a real web browser. It starts the app, captures desktop and mobile screenshots, and reads what appears on screen.

andrewcigan/vibe-dev-plugin · 76 tokens

visual-verifier

A visual checking agent for image-to-code work. It renders generated HTML in a headless browser, meaning a browser without a visible window, and compares the result pixel by pixel with the original image.

Mineru98/imagine · 113 tokens

qa-tester

Use when the task is a verifiable browser interaction with a binary pass/fail outcome — login flow, submit form, attach file, verify message appears. Returns a verdict + evidence. Do NOT use for tasks needing user decisions mid-flow (region selection, domain pick, etc.).

DevZonayed/Mochi · 60 tokens