Browser journey test

From Fr-e-d/GAAI-framework · View interactive version

Browser journey test is an AI agent skill from the GitHub repository Fr-e-d/GAAI-framework. Validate user stories by simulating real user journeys in a live browser against deployed application. Activate after implementation to verify actual user experience against acceptance criteria, not just code logic.

How to use this skill

Skill file

Browser Journey Test

Purpose / When to Activate

Activate after implementation to validate real user experience — not just code logic.

Use when:

Complements (does not replace) qa-review.


Process

CRITICAL — Anti-Collision Guard (MUST execute before writing any output file):

Before writing contexts/artefacts/test-evidence/{story_id}/journey-test-report.md, check if the target file already exists on disk:

This guard prevents the silent data loss incident of 2026-03-17 where concurrent sessions overwrote story files.

For each Story:

  1. Read the Story's acceptance criteria. For each AC, extract the user action (verb + object) and the expected outcome. Produce a numbered action sequence.
  1. Execute each action in the sequence using the browser automation capability available in the current environment (e.g., Playwright, Puppeteer, or the agent's built-in browser tool). Navigate to deployed_application_url before starting.
  1. After each action, capture: (a) a screenshot saved to contexts/artefacts/test-evidence/{story_id}/step-{N}.png, (b) the HTTP status code, (c) any console errors, (d) whether the expected outcome from Step 1 is visually and functionally confirmed.
  1. For each step, classify the result: PASS (outcome confirmed), FUNCTIONAL_FAILURE (expected outcome not met — blocks delivery), UX_FRICTION (outcome met but interaction is degraded — e.g., slow load, confusing layout, accessibility issue — does not block delivery).
  1. Produce the test report using the output format below.

Output Format

# Browser Journey Test — {Story ID}

> **Date:** {YYYY-MM-DD}
> **URL:** {deployed_application_url}
> **Overall verdict:** PASS | FAIL

## Step Results

| # | Action | Expected Outcome | Result | Evidence |
|---|--------|-----------------|--------|----------|
| 1 | {action} | {outcome} | PASS/FUNCTIONAL_FAILURE/UX_FRICTION | step-1.png |

## Functional Failures (blocking)
{list or "None"}

## UX Friction Points (non-blocking)
{list or "None"}

Outputs


Quality Checks


Non-Goals

This skill must NOT:

Validates real user experience. Prevents regressions in production-like conditions.

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.