e2e-test

Installation
SKILL.md

E2E Test Builder — Skill

One source of truth for adding Detox E2E tests to MetaMask Mobile. Applies to: Claude Code (.claude/commands/e2e-test.md), Cursor, Copilot, Windsurf, and other AI agents.

Before writing or changing any E2E code: read this skill once, then open the reference(s) indicated by the decision tree for your task.

What This Skill Does

Guides you through adding a new E2E regression or smoke test end-to-end:

  1. Plans the test (type, location, infrastructure needed)
  2. Creates or reuses Page Objects and selectors
  3. Writes the spec using the mandatory framework patterns and the correct tag (see Golden rule 8; check tests/tags.js and existing specs in the feature folder)
  4. Runs lint and type checks
  5. Executes the test locally via Detox
  6. Iterates until the test passes

Your job is to figure out whether the user needs to write a new spec, fix a failing test, or add page objects/selectors, then follow the corresponding path and open the relevant reference when that path indicates.

Installs
1
GitHub Stars
2.9K
First Seen
Mar 14, 2026
e2e-test — metamask/metamask-mobile