Skip to content

QA Automation Agent: a separate QA-mindset agent that writes and runs app flow tests, with its own UI page #14

Description

@serge-ivo

Motivation

PAS Agent Teams builds apps (PO/BA/Dev/QA loop) — but flow-level test automation must NOT be written by the dev team that builds the feature ("the dev team doesn't grade its own homework"). We want a dedicated agent with a QA mindset, delivered the PAGS way: an agent as a product, with its own UI page that has nothing to do with the development console.

The developer experience: open the QA agent's page, point it at your app, and watch tests run live in the browser — no local installs, no repo changes, ever.

What the agent does

  1. Explores the app like a tester — reads the app's live UI (and optionally its knowledge base), identifies the user journeys that matter (sign in, core actions, error paths), and proposes a flow list. QA mindset: edge cases, wrong inputs, empty states — not happy-path-only.
  2. Writes flow specs in the platform test format (JSON steps, Playwright-shaped — see Observable in-browser test execution: platform-run app automation, specs stored off-repo, Playwright-translatable proappstore-online/platform#38) and saves them via the PAS test-flows API. Specs live in platform storage, never in the product repo.
  3. Runs them and watches results: triggers in-browser runs (embedded observable runner) and headless platform runs; on failures, produces a human-readable diagnosis (which step, screenshot, likely cause).
  4. Maintains them: after app deploys, re-runs, notices selector drift/broken flows, and repairs specs — filing findings the owner can forward to the dev side (one-way integration; the QA agent never edits app code).

The UI (a separate page, not a dev tool)

A PAGS agent instance page (standard agent board pattern):

  • App picker (owner's PAS apps) → flow list with pass/fail status and last-run times
  • "Watch" mode: embeds the PAS observable runner — the app in an iframe, steps executing visibly, step list with live pass/fail
  • Run history + failure screenshots; a chat panel to instruct the agent ("cover the puzzle wrong-attempt cap", "why did flow 3 fail?")
  • Zero code shown by default — this is a QA surface, not an IDE

Dependencies / integration

Acceptance criteria

  • The agent, pointed at chess-academy, proposes a sensible flow list and writes ≥3 runnable specs without human-authored steps
  • Flows run visibly in the embedded runner and headlessly on the platform, from the agent's own page
  • A deliberately broken flow produces a diagnosis with step + screenshot
  • The chess-academy repo remains untouched by all of the above
  • The page is fully separate from any development/build UI

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions