Creator · PramodDutta
Last updated · Sep 3, 2026
Make Claude Code write and maintain end-to-end tests like a senior SDET — Playwright and Cypress flows with stable locators, the Page Object Model, fixtures, reused auth state, network mocking, and flake-free CI. Claude Code E2E testing, done right.
Sandbox only
Install targets
Codex install prompt
Install the "e2e-testing-claude-code" agent skill from https://github.com/PramodDutta/qaskills/tree/main/packs/qa-essentials/skills/e2e-testing-claude-code. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Make Claude Code write and maintain end-to-end tests like a senior SDET — Playwright and Cypress flows with stable locators, the Page Object Model, fixtures, reused auth state, network mocking, and flake-free CI. Claude Code E2E testing, done right. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"pramoddutta-e2e-testing-claude-code","task":"Install e2e-testing-claude-code","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Testing and QA
I need my agent to test a web app, reproduce bugs, and verify fixes.
Agent fit
Claude Code + Browser agents + CLI
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add PramodDutta/qaskills --skill e2e-testing-claude-code
Maintenance
fresh
8d since push
Risk
Risky
Permission surface may require sandboxing
GitHub quality
215
70/100 Quality · 76/100 Trust
Coverage tags
Review notes
Permission surface may require sandboxing · Potential broker, wallet, exchange, or real-money execution surface; sandbox and explicit approval are required
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
RiskyA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
215 GitHub stars
Repo activity
215 stars, 23 forks
Maintenance
8d since push
License
MIT
Install
npx skills add PramodDutta/qaskills --skill e2e-testing-claude-code
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add PramodDutta/qaskills --skill e2e-testing-claude-codeDo not use when
Alternative
168.6K Stars
npx skills add mattpocock/skills --skill code-review
Alternative
40.8K Stars
npx skills add appsmithorg/appsmith
Alternative
175.7K Stars
npx skills add mattpocock/skills --skill implement
Alternative
30.9K Stars
npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
medium
Skill may drive a browser or interact with web pages.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20e2e-testing-claude-code%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20e2e-testing-claude-code%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/pramoddutta-e2e-testing-claude-code/install
Agent should check
Copy prompt
Task: Use e2e-testing-claude-code in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20e2e-testing-claude-code%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/pramoddutta-e2e-testing-claude-code/install
Install command: npx skills add PramodDutta/qaskills --skill e2e-testing-claude-code
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/pramoddutta-e2e-testing-claude-code/install
LLM text format
/api/skills/pramoddutta-e2e-testing-claude-code/install?format=text
Find alternatives
/api/skills/search?q=e2e-testing-claude-code&limit=3
Agent prompt
Use e2e-testing-claude-code for this task. Review https://www.openagentskill.com/api/skills/pramoddutta-e2e-testing-claude-code/install, then install with: npx skills add PramodDutta/qaskills --skill e2e-testing-claude-codeRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/pramoddutta-e2e-testing-claude-code
LLM text
/api/registry/manifest/pramoddutta-e2e-testing-claude-code?format=text
Install alias
/api/registry/install/pramoddutta-e2e-testing-claude-code
Recommend
/api/registry/recommend?task=Use%20e2e-testing-claude-code%20in%20an%20agent%20workflow&limit=3
Agent fit
Testing and QA
Use-case tags
Platforms
Claude Code, Browser agents
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Testing and QA
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO215 GitHub stars
Stars/forks activity
CHECK215 stars, 23 forks; issue activity unavailable in current metadata
Recent maintenance
PASS8d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Verify behavior
I need my agent to test a web app, reproduce bugs, and verify fixes.
Build and ship code
I need a coding agent that can understand a repository, edit code, and review pull requests.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Workflow fit
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Scrape, clean, and reuse web data
A practical workflow for agents that crawl public pages, extract clean content, normalize data, and hand it to downstream research or RAG workflows.
Alternative shortlist
Similar skills that may fit this task.
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
--- name: e2e-testing-claude-code description: Make Claude Code write and maintain end-to-end tests like a senior SDET — Playwright and Cypress flows with stable locators, the Page Object Model, fixtures, reused auth state, network mocking, and flake-free CI. Claude Code E2E testing, done right. license: MIT metadata: author: qaskills version: 1.0.0 source: https://qaskills.sh/skills/qaskills/e2e-testing-claude-code ---
# E2E Testing Skill for Claude Code
You are a senior SDET working inside Claude Code. When the user asks you to add, write, or fix **end-to-end (E2E)** tests, follow this skill. E2E tests drive a real browser through real user journeys — they are the most valuable tests when reliable and the most damaging when flaky. Your job is to produce E2E tests the team trusts.
## Core principles
1. **Test journeys, not pages.** An E2E test should follow a complete user goal (sign up → add to cart → check out), asserting the outcomes a user would notice. 2. **Few, high-value, rock-solid.** Cover the handful of revenue/critical paths well. Push field-level and edge-case checks down to unit/integration tests. 3. **Deterministic.** No fixed sleeps, no dependence on prod data, no test order coupling. 4. **Stable locators only.** The #1 cause of E2E flake is brittle selectors.
## Step 1 — pick what to E2E-test
Choose journeys by business risk: authentication, checkout/payment, onboarding, search→result, the core "job to be done" of the app. If asked to "add E2E tests" broadly, list the critical journeys first and confirm priority rather than testing every page.
## Step 2 — framework
Default to **Playwright** for new work (auto-waiting, cross-browser, traces, parallelism). Use **Cypress** if the repo already standardizes on it. Detect the existing setup before adding anything; never introduce a second E2E framework.
## Step 3 — stable locators
Preference order: role/label/text → `data-testid` → CSS as a last resort. Never use auto-generated class names, deep CSS chains, or `nth-child` position.
```ts // Good await page.getByRole('textbox', { name: 'Email' }).fill('user@test.dev'); await page.getByRole('button', { name: 'Continue' }).click();
// Bad — brittle await page.locator('.MuiBox-root > div:nth-child(3) input').fill('user@test.dev'); ```
If the app lacks stable hooks, add `data-testid` attributes to the app code as part of the work.
## Step 4 — Page Object Model
Keep selectors and actions in page objects; keep assertions in tests. This isolates UI churn to one file and makes tests read like prose.
```ts // pages/LoginPage.ts export class LoginPage { constructor(private page: Page) {} async login(email: string, password: string) { await this.page.getByLabel('Email').fill(email); await this.page.getByLabel('Password').fill(password); await this.page.getByRole('button', { name: 'Sign in' }).click(); } } ```
## Step 5 — auth state reuse (don't log in every test)
Log in once in global setup, save `storageState`, and reuse it. This cuts runtime and removes a huge source of flake.
```ts // global-setup.ts const page = await browser.newPage(); await new LoginPage(page).login(process.env.E2E_USER!, process.env.E2E_PASS!); await page.context().storageState({ path: 'storage/auth.json' });
// playwright.config.ts → use: { storageState: 'storage/auth.json' } ```
## Step 6 — network mocking for determinism
Mock third-party/unstable calls so tests don't fail on someone else's outage; let core API calls hit a seeded test backend.
```ts await page.route('**/api/flags', (route) => route.fulfill({ json: { newCheckout: true } }), ); ```
## Step 7 — kill flake
- Replace every `waitForTimeout` with a web-first assertion (`await expect(locator).toBeVisible()`). - Each test seeds and cleans its own data; randomize test order in CI to expose coupling. - Freeze time/animations where they cause races; disable CSS animations in test config. - If a test can't be made stable and blocks the build, quarantine and track it — don't let it flap.
## Step 8 — CI
Run E2E on PRs (or on merge if slow), shard across workers for speed, cache browser binaries, and **upload the Playwright trace + screenshots + video on failure** so failures are debuggable from the CI artifact alone.
```yaml - run: npx playwright test --shard=${{ matrix.shard }}/4 - if: failure() uses: actions/upload-artifact@v4 with: { name: trace, path: test-results/ } ```
## Worked example
```ts import { test, expect } from '@playwright/test'; import { LoginPage } from './pages/LoginPage';
test('returning user completes checkout', async ({ page }) => { await page.goto('/'); await new LoginPage(page).login(process.env.E2E_USER!, process.env.E2E_PASS!);
await page.getByRole('link', { name: 'Widget Pro' }).click(); await page.getByRole('button', { name: 'Add to cart' }).click(); await expect(page.getByTestId('cart-count')).toHaveText('1');
await page.getByRole('link', { name: 'Checkout' }).click(); await page.getByRole('button', { name: 'Place order' }).click(); await expect(page.getByRole('heading', { name: 'Thank you' })).toBeVisible(); }); ```
Stable role locators, reused auth, web-first assertions, a real revenue journey, concrete post-conditions — that is a trustworthy E2E test.
## Self-review checklist
- [ ] Follows a complete user journey, not a single widget. - [ ] Only stable locators (role/label/testid); no positional CSS. - [ ] No `waitForTimeout`; uses web-first assertions. - [ ] Reuses auth state; seeds/cleans its own data; passes in random order. - [ ] Trace/screenshots uploaded on CI failure. - [ ] Actually fails when the journey breaks (verify by breaking it once).
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for e2e-testing-claude-code, ready for a manual X post.
e2e-testing-claude-code: Make Claude Code write and maintain end-to-end tests like a senior SDET — Playwright and Cypr... 215 stars https://www.openagentskill.com/skills/pramoddutta-e2e-testing-claude-code?ref=x
Listing + install path for e2e-testing-claude-code: https://www.openagentskill.com/skills/pramoddutta-e2e-testing-claude-code?ref=x Install: npx skills add PramodDutta/qaskills --skill e2e-testing-claude-code
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to PramodDutta but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/pramoddutta-e2e-testing-claude-code?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/pramoddutta-e2e-testing-claude-code?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/pramoddutta-e2e-testing-claude-code/audit)
[](https://www.openagentskill.com/skills/pramoddutta-e2e-testing-claude-code?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)PramodDutta
@pramoddutta
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Code Review
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
168.6K StarsAppsmith
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
40.8K StarsImplement
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
175.7K StarsVercel React Best Practices
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
30.9K StarsPermission surface
secrets or environment access, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness