Write e2e tests

From fieldsphere/cursor-team-marketplace-template · View interactive version

Write e2e tests is an AI agent skill from the GitHub repository fieldsphere/cursor-team-marketplace-template. Write end-to-end tests for real user journeys using the repository's existing browser or application test stack. Use when the user asks for E2E tests, workflow coverage, UI regression protection, or multi-step journey validation.

How to use this skill

Skill file

Write E2E Tests

Add or update end-to-end tests that protect critical user flows from the user's point of view.

Workflow

  1. Discover the existing E2E framework, fixtures, selectors, helpers, and file layout.
  2. Pick the smallest set of user journeys that materially reduces regression risk.
  3. Reuse stable selectors, page objects, and fixtures that already exist in the repo.
  4. Cover the happy path and one meaningful failure, guard, or empty-state path when relevant.
  5. Run the targeted E2E command when possible and summarize failures clearly.

Principles

Output

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.