kata-code-e2e-testing
Installation
SKILL.md
E2E test author
Before writing code
- Read
e2e/README.mdand the relevant product spec (docs/specs/2026-06-21-e2e-testing-foundation-design.md). - Inspect existing tests under
e2e/tests/and reusable blocks ine2e/src/harness/ande2e/src/flows/. - Explore the UI on the real harness first, then codify locators in
flows/— do not guess selectors from product code alone.
How to explore a new flow (preferred)
Default: Playwright UI / debug on the spec, not playwright-cli.
Electron E2E runs through an isolated dev stack (Vite + Playwright-launched Electron). Playwright UI/debug uses the same launch, pairing, auth, and ports as the real test. playwright-cli attach --cdp=… is optional and brittle here (port conflicts, short-lived test processes).
# Pick the smallest existing spec closest to your flow, then:
vp run e2e:ui --project desktop-dev --grep '@settings'