Skip to content
Back to skills

E2e Testing

ASecurity

End-to-end testing with Playwright (or similar) — critical user journeys only, web-first assertions, role-based locators, test isolation with seeded accounts, network mocking boundaries, traces and videos on failure, sharding, accessibility checks in flows. Use for browser E2E suites (E2E, Playwright, end-to-end, user journey, UI automation).

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgotestingapi

Works with

  • api

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add vectora-os/kit --skill e2e-testing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of E2e Testing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for E2e Testing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectora-os-e2e-testing/badge)](https://www.skillsdirectory.com/skills/vectora-os-e2e-testing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: e2e-testing
description: End-to-end testing with Playwright (or similar) — critical user journeys only, web-first assertions, role-based locators, test isolation with seeded accounts, network mocking boundaries, traces and videos on failure, sharding, accessibility checks in flows. Use for browser E2E suites (E2E, Playwright, end-to-end, user journey, UI automation).
metadata:
  category: quality
---

# End-to-end testing

## Purpose

Verify critical user journeys in a real browser reliably.

**Use when:** key journeys and release confidence.

**Not for:** exhaustive logic testing (use lower levels).

## Inputs

- Critical journeys, test environment.

## Outputs

- E2E specs, CI job, failure artifacts.

## Read first

- [Project Brain](../../../project-brain/README.md) — `npm run brain -- query "end-to-end testing"` for prior decisions, patterns and anti-patterns.
- [Testing standard](../../../standards/testing.md)

## Steps

1. **Select.** Pick a small set of critical journeys.
   Done when each spec maps to a journey.
2. **Locate.** Role and label locators; no CSS chains.
   Done when locators resilient.
3. **Isolate.** Seeded accounts per test via API.
   Done when tests run in parallel.
4. **Diagnose.** Traces on failure; retries reported, not hidden.
   Done when failures debuggable.

## Best practices

- Set up state via API, verify via UI.
- Add axe checks to key pages.

## Common mistakes

- Testing everything via E2E.
- Fixed waits.

## Example

Checkout journey spec: seeded cart via API, pay with test card, assert order confirmation by role.

## Reusable prompt

```text
Apply the End-to-end testing skill (.agents/skills/e2e-testing/SKILL.md).
Context: {{task card or question; links to PRD, ADRs, code paths}}
Constraints: {{approved thresholds, deadlines, allowed files}}
Write E2E specs for the critical journeys with resilient locators, isolation and failure diagnostics.
Return: E2E specs, CI job, failure artifacts..
Cite evidence (file:line, command output, source) for every claim; list open questions separately.
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.