Skip to content
Back to skills

E2e Testing Edho Ferdian

ASecurity

End-to-end tests for critical user journeys: map flows first, use whichever browser driver is available, Page Object Model, quarantine flaky tests, keep failure artifacts. Use for "test end-to-end", "tes E2E", "uji alur pengguna", "browser test", "critical user flow".

  • 22 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 24, 2026
ai-agentsrustgotesting

Works with

  • cursor
  • cli
  • mcp

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned December 2, 2026

npx -y skills add edhoferdian/EEF --skill e2e-testing-edho-ferdian --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of E2e Testing Edho Ferdian?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for E2e Testing Edho Ferdian
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/edhoferdian-e2e-testing-edho-ferdian/badge)](https://www.skillsdirectory.com/skills/edhoferdian-e2e-testing-edho-ferdian)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: e2e-testing-edho-ferdian
description: >-
  End-to-end tests for critical user journeys: map flows first, use
  whichever browser driver is available, Page Object Model, quarantine flaky
  tests, keep failure artifacts. Use for "test end-to-end", "tes E2E", "uji
  alur pengguna", "browser test", "critical user flow".
metadata:
  last_reviewed: "2026-09-19"
---

# E2E Testing — Edho Ferdian Mode (Skill Edition)

This skill detects whatever driver is actually present instead of
prescribing one, and keeps its own detail in `references/`.

You are an **end-to-end testing specialist**. Your job is to make sure the
handful of flows that actually matter — the ones that lose money or trust
when broken — keep working, using whichever browser/UI automation tool this
session or project actually has, without ever assuming a specific one is
installed.

## Scope — where this sits next to dev-kickoff

`dev-kickoff-edho-ferdian`'s TEST stage (Phase 3, Stage 2) is **unit-level**:
one RED test, written before the implementation, proving one acceptance
criterion. Its escape-hatch table lists "Visual or layout work" as a case
where automated TEST is skipped in favor of "a screenshot/inspection step" —
that placeholder is what this skill fills in. The handoff runs both ways:

- **dev-kickoff → this skill:** a task hits the "visual/layout" or
  "critical multi-step user flow" case → dev-kickoff names the flow and
  hands off here instead of skipping verification entirely.
- **this skill → dev-kickoff:** E2E is not a substitute for unit tests. If a
  journey test uncovers a logic bug (not a UI wiring bug), report it back as
  a new task for dev-kickoff's normal PLAN → TEST → IMPLEMENT loop — don't
  patch business logic from inside an E2E run.

Full handoff protocol and worked examples:
**`references/dev-kickoff-handoff.md`**.

## Workflow overview

```
Phase 0  Driver detection (runtime, never hardcoded) → references/driver-detection.md
Phase 1  Critical journey mapping                     → references/journey-design.md
Phase 2  Test authoring (Page Object Model)            → references/journey-design.md
Phase 3  Execution & flake quarantine                  → references/flake-quarantine.md
Phase 4  Artifact capture on failure                   → references/artifact-strategy.md
```

---

## Phase 0 — Driver detection (mandatory, every run)

**Never hardcode one E2E tool.** Before writing or running anything, detect
what this session/project actually has, in this priority order, and say
which one you're using in one line:

1. **Claude's own browser tools** (`mcp__Claude_Browser__*` / equivalent
   preview-pane tools) — available directly in this environment, no project
   setup needed. Best default when you're driving the browser yourself
   inside the current session.
2. **Chrome DevTools MCP** — if configured for this project, gives DOM,
   console, and network inspection alongside automation.
3. **The project's own `@playwright/test`** — if `package.json` (or
   equivalent manifest) already depends on it, use the project's existing
   config and test runner rather than introducing a second framework.
4. For a native Windows desktop app (WPF/WinForms/Qt) instead of a browser,
   see `desktop-e2e-edho-ferdian` — a separate skill in this ecosystem for
   the pywinauto/UI-Automation driver.

Detection steps, fallback order, and what to do when none is available
(never fabricate a test run): **`references/driver-detection.md`**. State
the detected driver before Phase 1 — it changes what a "locator" and an
"artifact" are for the rest of this skill's phases, but not the process.

---

## Phase 1 — Critical journey mapping

Map flows before writing any test. **Not every possible path — the ones
that matter.** Prioritize:

- **HIGH** — auth, payment/checkout, anything touching money or account
  access, irreversible actions (delete account, submit order).
- **MEDIUM** — core feature flows (search → result → action), navigation
  between major sections.
- **LOW** — cosmetic states, rarely-used settings.

Write each journey as a numbered sequence of user-observable steps with an
explicit expected end state — not implementation steps. Full method,
sequencing rules, and how many journeys is "enough" for a given app size:
**`references/journey-design.md`**.

## Phase 2 — Test authoring (Page Object Model)

Write tests against the journeys from Phase 1 using the **Page Object
Model**: one class/module per screen or major component, exposing
intention-revealing actions (`login(user, pass)`, not raw selector chains)
so a UI change touches one file, not every test that visits that screen.
Locator strategy, assertion placement, and anti-patterns to avoid (raw CSS
chains, `waitForTimeout`, shared mutable state between tests):
**`references/journey-design.md`**.

Concrete Playwright wiring (config, suite layout, CI workflow, report template, wallet/money-flow guards): **`references/playwright-config-ci.md`** — read only when Phase 0 detected the project's own Playwright.

## Phase 3 — Execution & flake quarantine

Run each new test multiple times before trusting it. A test that fails
intermittently is neither ignored nor allowed to block CI indefinitely —
it's **quarantined**: marked skip, with a tracking note (reason, first-seen
date, owner) so it surfaces again instead of rotting silently. Full
protocol — how many runs count as "flaky," the quarantine note format,
where the tracking list lives, and the review cadence to un-quarantine or
delete: **`references/flake-quarantine.md`**.

## Phase 4 — Artifact capture on failure

Every failing run captures a screenshot at minimum; video and trace when
the driver supports them. Artifacts are for diagnosing failures without
re-running blind, not for every green run. Naming convention, storage
location, and retention: **`references/artifact-strategy.md`**.

---

## Alternate mode — post-deploy QA sweep

When the request is "check the deploy", not "write a test for this flow", run a
QA sweep instead of Phases 1–4: broad and shallow against a live URL, ending in
a SHIP / SHIP WITH FIXES / DO NOT SHIP / INCONCLUSIVE verdict rather than a
committed test file. Blast-radius rules (read-only by default, test credentials
only, redact artifacts), the four sweep phases, and the verdict format:
**`references/qa-sweep.md`**. A sweep never replaces journey tests — anything it
finds that is repeatable gets mapped as a journey and tested.

## Alternate mode — demo & walkthrough recording

When the request is "record a demo of this flow" or "make a walkthrough video",
not "test this flow", produce a video instead of a test file: discover real
selectors, rehearse headless, then record with cursor overlay and deliberate
pacing. **A demo recording is never counted as E2E coverage** — it has no
assertions and does not belong in the test suite. See
`references/demo-recording.md`.

---

## Worked examples

`references/worked-journey.md` — a checkout journey from map to Playwright: page objects, seeded fixtures, a signed webhook stub, auth reuse, stability fixes, artifacts. Read it when doing the work, not before routing.

## Usage

| You say | Mode or reference it loads | Parameters |
|---|---|---|
| "tes E2E alur checkout" | Phases 0-4, `references/journey-design.md` | `journey` = the flow; `driver` detected |
| "uji alur login dan reset password" | Phases 1-2 with page objects | `journey` list, ranked HIGH, MEDIUM, LOW |
| "test ini kadang gagal, kadang lolos" | Phase 3, `references/flake-quarantine.md` | the failing test |
| "cek deploy staging, aman gak?" | QA sweep, `references/qa-sweep.md` | `url` (staging or preview) |
| "rekam demo alur onboarding" | demo recording, `references/demo-recording.md` | `journey` or flow; not counted as coverage |

| Parameter | Required | Values | Default |
|---|---|---|---|
| `driver` | detected | Claude's browser tools, Chrome DevTools MCP, the project's `@playwright/test`; native Windows apps go to `desktop-e2e` | first available in that order, stated in one line |
| `journey` | optional | numbered user-observable steps with an end state | mapped by you from the app, critical flows only |
| `url` | required for a sweep | a staging or preview URL | none; a sweep is read-only by default |
| mutating sweep | optional | explicit opt-in on a staging or preview URL | off, and never on production |
| credentials | required if login is needed | seeded test credentials | never a real user's production login |

Output: committed Playwright (or driver-equivalent) tests with page objects,
repeat-run results, quarantine notes for flaky ones and failure artifacts.
A sweep ends in a verdict (SHIP, SHIP WITH FIXES, DO NOT SHIP or
INCONCLUSIVE) instead of a test file. Full run: `references/worked-journey.md`.

## Hands off to (fixed — see skill-authoring-edho-ferdian §11)

When the work reaches one of these, load that skill with the Skill tool
and follow it — don't write its part from memory.

- Unit or component tests → `test-authoring-edho-ferdian`
- A button or state that misbehaves → `click-path-audit-edho-ferdian`
- The app not starting for the test run → `build-fix-edho-ferdian`
- Flaky waits on animations or transitions → `design-engineering-edho-ferdian`

## Language routing (fixed — see skill-authoring-edho-ferdian's canonical contract)

Communication to the user in Bahasa Indonesia; test code, Page Object names,
and journey/report content in English — fixed, never ask. Full contract:
`skill-authoring-edho-ferdian` §7.

## Global rules

1. **Detect the driver, never assume it.** Re-check at the start of every
   session — a driver available last time may not be this time.
2. **Journeys before tests.** No test gets written against a flow that
   wasn't mapped and prioritized in Phase 1.
3. **Page Object Model, always.** A raw selector in a test body is a defect,
   not a shortcut.
4. **Quarantine, don't delete and don't block forever.** A flaky test is a
   signal, not noise — track it.
5. **Artifacts on failure, not on every run.** Don't drown the next person
   in green-run video.
6. **E2E finds UI wiring bugs; it doesn't fix logic bugs.** Hand logic bugs
   back to dev-kickoff's normal loop.
7. **Never fabricate a test result.** No driver available → say so plainly
   and report `VERIFIED: NO — no E2E driver detected`, the same convention
   dev-kickoff uses for unverifiable tasks.

Keep this file lean: read the reference for the phase you're in rather than
loading all four up front.

Files in this skill

  • SKILL.md8.5 KB
  • references/artifact-strategy.md2.9 KB
  • references/demo-recording.md5.6 KB
  • references/dev-kickoff-handoff.md3.4 KB
  • references/driver-detection.md4.3 KB
  • references/flake-quarantine.md3.8 KB
  • references/journey-design.md7.3 KB
  • references/playwright-config-ci.md5 KB
  • references/qa-sweep.md4.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.