agentleFS
LeostrukaLeostruka/devin-bundle/skills/e2e-testing/SKILL.md

e2e-testing

Skill0 starsChanged 4 months agoMITView on GitHub

Use when the user wants to add, run, or debug end-to-end tests. Covers Playwright, Selenium, Cypress, happy paths, critical user journeys, and CI integration. Browser-level journeys only; unit/TDD work goes to testing, test infrastructure to observability-quality.

48 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use swift-protocol-di-testing, content-hash-cache-pattern and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • InfopibeSkill

    swift-protocol-di-testing

    Protocol-based dependency injection for testable Swift code — mock file system, network, and external APIs using focused protocols and Swift Testing.

    Also in 8 projects that use this

  • InfopibeSkill

    content-hash-cache-pattern

    Cache expensive file processing results using SHA-256 content hashes — path-independent, auto-invalidating, with service layer separation.

    Also in 8 projects that use this

  • saxon-ySkill

    configure-ecc

    Interactive installer for Everything Claude Code — guides users through selecting and installing skills and rules to user-level or project-level directories, verifies paths, and optionally optimizes installed files.

    Also in 7 projects that use this

  • +9 more from Infopibe

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 23 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write stable selectors: Prefer data-testid or role-based selectors.

    line 22
  2. Distinctive:

    Mock external dependencies: Avoid real payments, emails, or third-party APIs.

    line 23
  3. Very specific:

    Run npx playwright test or equivalent and report pass/fail counts.

    line 35

“Common” is measured: kept by at least 6 in 10 of the 23 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

E2E Testing

End-to-end tests for critical user journeys.

When to use

  • New user-facing feature needs regression coverage.
  • Critical path broke in production.
  • Setting up e2e suite for the first time.
  • Debugging flaky e2e tests.

Core protocol

  1. Map journeys. Login, checkout, create/read/update/delete, key workflows.
  2. Choose tool. Playwright, Cypress, Selenium based on project.
  3. Write stable selectors. Prefer data-testid or role-based selectors.
  4. Mock external dependencies. Avoid real payments, emails, or third-party APIs.
  5. Run and debug. Headed for debugging, headless in CI.
  6. Report flakes. Isolate timing issues and retries.

See also

  • observability-quality — test infrastructure, logging, and coverage strategy.
  • computer-use — when the e2e target is a desktop/native app (not a browser): drive it via screenshots, UIA, and input control.

Output rule

  • One test file per journey.
  • Run npx playwright test or equivalent and report pass/fail counts.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.