Skip to content
Back to skills

E2e

ASecurity

Run end-to-end Playwright tests via the developer CLI.

  • 438 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added May 26, 2026
developmentbash

Works with

  • cli

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add platformplatform/PlatformPlatform --skill e2e --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of E2e?

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

Security grade badge for E2e
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/platformplatform-e2e/badge)](https://www.skillsdirectory.com/skills/platformplatform-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: e2e
description: Run end-to-end Playwright tests via the developer CLI.
---

# End-to-end Tests

```bash
dotnet run --project developer-cli -- e2e [search-terms...] [--smoke] [--browser <name>] [--retries <n>] [--last-failed] [--only-changed] [--stop-on-first-failure] [--include-slow] [--self-contained-system <name>] [--no-wait-for-aspire] --quiet
```

Use `developer-cli` exactly as written - do not expand to an absolute worktree path.

- `search-terms` - filter by test name, tag, or spec file
- `--smoke` - smoke suite only
- `--browser <name>` - `chromium` (default), `firefox`, `webkit`, `safari`, `all`
- `--retries <n>` - max retries for flaky tests
- `--last-failed` - re-run only the previous run's failures
- `--only-changed` - only spec files with uncommitted changes
- `--stop-on-first-failure`, `-x` - exit on first failure
- `--include-slow` - include `@slow`-tagged tests (excluded by default)
- `--self-contained-system <name>` - narrows to one SCS (e.g. `main`, `account`)
- `--no-wait-for-aspire` - skip the Aspire readiness check (use only when Aspire is already up)

Aspire must be running. If not, start it via the `aspire-restart` skill first.

## Strategy: pick the smallest run that proves the fix

E2E runs are slow. Never blindly run the full suite to verify a small change.

- Verifying a recent edit? `--only-changed`.
- After a fix? `--last-failed`.
- Iterating on one test? Pass a search term: a name (`"user management"`), a tag, or a spec file.
- Add `--stop-on-first-failure` (`-x`) when iterating so the run aborts on the first failure.
- Expecting failures? Start with `--smoke`, get those green, then run the rest.
- Only widen to `firefox` / `webkit` after `chromium` passes - and skip `chromium` on those runs (`--browser firefox`).

## Flaky tests need load

A flaky test run in isolation often passes - the bug only shows under parallel load. Reproduce with the full file or suite before declaring it fixed.

## Always pass --quiet

Without `--quiet` Playwright streams every step to the conversation. On success the CLI prints a single summary; on failure it prints the failed tests and where to find the report.

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…

Newsletter

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