Skip to content
Agentmart
Submit a tool

e2e

Generate end-to-end tests for applications.

Skill by maggit

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/maggit-e2e

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Generate end-to-end tests for applications. Use when the user says /e2e, asks for end-to-end tests, integration tests, browser tests, API tests, or wants to test a full user workflow. Triggers: e2e, end-to-end, integration test, browser test, playwright, cypress, selenium, API test, smoke test, user flow.

Use cases: backend, testing, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/e2e

What's inside

Skill name
e2e
Description
Generate end-to-end tests for applications. Use when the user says /e2e, asks for end-to-end tests, integration tests, browser tests, API tests, or wants to test a full user workflow. Triggers: e2e, end-to-end, integration test, browser test, playwright, cypress, selenium, API test, smoke test, user flow.
License
MIT
Instructions
65 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# E2E Test Generator

Generate end-to-end tests covering full user workflows.

## Workflow

1. **Detect the E2E framework:**
   - Check for existing config: `playwright.config.*`, `cypress.config.*`, `wdio.conf.*`.
   - Check `package.json` for Playwright, Cypress, Selenium, Puppeteer, or similar.
   - For API-only: check for Supertest, httpx, REST-assured.
   - If none exists, recommend Playwright (most versatile) and help set it up.

2. **Identify the user flow to test:**
   - Ask the user or infer from the feature being discussed.
   - Map out the steps: navigation, input, actions, expected outcomes.
   - Identify preconditions (auth state, seed data, feature flags).

3. **Generate the test:**

### For Browser E2E (Playwright/Cypress)

```
- Navigate to the page.
- Interact with elements using accessible selectors (role, label, text).
- Assert on visible outcomes (text content, URL, element state).
- Handle async loading (wait for network idle, element visibility).
```

### For API E2E

```
- Set up auth headers/tokens.
- Make requests in the order a real client would.
- Assert on status codes, response bodies, and side effects.
- Clean up test data.
```

4. **Add robustness:**
   - Use data-testid or accessible selectors, not brittle CSS selectors.
   - Add proper waits instead of fixed timeouts.
   - Handle flakiness: retry logic, deterministic test data.
   - Set up and tear down test state.

5. **Run the test** to verify it passes.

## Test Structure

```
describe('User flow: <flow name>')
  before: Set up preconditions (login, seed data)
  test: Step-by-step user actions with assertions
  after: Clean up (delete test data, logout)
```

## Guidelines

- E2E tests should mirror real user behavior — interact via the UI, not internal APIs.
- Keep E2E tests focused on critical paths (login, checkout, core CRUD).
- Use accessible selectors: `getByRole`, `getByLabel`, `getByText` over CSS.
- Isolate test data — don't depend on shared mutable state.
- E2E tests are slow; keep the suite lean. Test edge cases in unit tests.
- For flaky tests, add retry annotations rather than arbitrary sleeps.
- Include visual regression snapshots for UI-critical flows if the framework supports it.

From maggit/claude-workspace, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Feb 8, 2026 (8 months ago)
Last release
Feb 8, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from maggit

Cite this page

e2e skill. Agent Mart. https://agentmart.dev/skills/maggit-e2e (last updated 2026-10-24)