Skip to content
Back to skills

Test E2e

ASecurity

Generates end-to-end tests for a user flow using Playwright or Cypress

  • 10 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added May 27, 2026
data-aibash

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add berkcangumusisik/claude-code-practices --skill test-e2e --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test E2e?

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

Security grade badge for Test E2e
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/berkcangumusisik-test-e2e/badge)](https://www.skillsdirectory.com/skills/berkcangumusisik-test-e2e)

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: test-e2e
description: Generates end-to-end tests for a user flow using Playwright or Cypress
argument-hint: <flow-description>
user-invocable: true
allowed-tools: Read Glob Edit Bash
effort: medium
---

## Generate E2E Tests

Flow to test: **$ARGUMENTS**

1. Detect the E2E framework:
```bash
cat package.json | grep -E "playwright|cypress|puppeteer"
ls e2e/ tests/ cypress/ playwright/ 2>/dev/null | head -20
```

2. Read 2-3 existing E2E test files to understand the project's patterns, selectors, and helpers.

3. Generate the E2E test covering:
   - Setup (auth if needed, navigation to starting point)
   - The full user flow step by step
   - Assertions at each key step
   - Teardown / cleanup

4. Use data-testid selectors by preference, then aria labels, then text - avoid CSS class selectors.

5. Place the test in the correct directory matching project conventions.

6. Note any test data or environment variables required.

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.

Comments

Loading comments…