qa-automate
/qa-automate
Zamienia zatwierdzone przypadki UI w specyfikacje Playwright, buduje page objects i uruchamia je na urządzeniach.
- Autor
- marceloancieta ↗
- Repozytorium
- web-qa-agentic-framework ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 10.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 10.11.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Zamienia zatwierdzone przypadki UI w specyfikacje Playwright, buduje page objects i uruchamia je na urządzeniach.
Oryginalny opis (EN)
Phase 2 of UI test work. Turns the approved cases of a registry into Playwright specs under apps/<pack>/specs/, building the page objects, components, flows, builders and mocks they need first, with locators captured from the live page (read-only). Checks them with the type, lint and QA linters, runs them on every device project of the environment twice, writes visual baselines only through the visual lane, and moves the rows to automated. Use when the user asks to automate, implement or write the specs of approved cases. Does not publish or report runs.
Jak działa
- Inputs
- Steps
- If it stops halfway
- Do not
Podgląd SKILL.md
---
name: qa-automate
description: >-
Phase 2 of UI test work. Turns the approved cases of a registry into Playwright specs under
apps/<pack>/specs/, building the page objects, components, flows, builders and mocks they need
first, with locators captured from the live page (read-only). Checks them with the type, lint and
QA linters, runs them on every device project of the environment twice, writes visual baselines
only through the visual lane, and moves the rows to automated. Use when the user asks to automate,
implement or write the specs of approved cases. Does not publish or report runs.
---
# qa-automate: write and prove the specs
**Mode: design** (`.claude/rules/modes.md`). Running the specs being written is allowed; their
writes go to data they create, in an environment whose entry for the pack has `allow_writes` true.
## Inputs
- The registry `apps/<pack>/registry/<feature>.md`, `approved` rows only, and its contract.
- `.claude/rules/generation.md` (layers, locators, the shape of a case, data) and
`.claude/rules/tagging.md`.
- `apps/juice-shop/` as the worked example, and the pack's existing pages, components, flows,
builders and mocks.
## Steps
1. **Capture the locators live**, read-only: open each route with a browser tool or read its
accessibility tree in the app map, and take the role and accessible name the page really has. Use
the order of the generation rule. An element with no accessible name is an accessibility finding
for `qa-report-bug`, not a reason for CSS.
2. **Build the blocks first**, in the conversation: page objects and components (locate and act,
never assert; masks for the visual check), builders for data, `api/` clients for arranging and
verifying state, mocks by name over `helpers/network.ts`, a flow when two specs share a task.
A spec never builds a locator, sends a request or routes the network itself (`lint-layers`).
3. **Write the specs**: one test per approved case, titled with the id, the title and exactly the
registry's Tags cell. Arrange through actors and `api/`, act through pages, assert with
web-first assertions on what the case created. A case the registry maps to an open issue arms
`test.fail(true, await knownGap('<KEY>', why))` right before the action and carries
`@known-gap`. A `@destructive` case goes in a spec file of its own and ends with its recovery.
A journey (`@e2e`) takes every step it claims through the UI over flows and proves its end
through `api/` (the generation rule's journey section), so its flows are built first.
With several spec files, split the cases by file and launch one
[`spec-author`](../../agents/spec-author.md) per file, in parallel, once the blocks they need
exist. Each writes only its file and reports per case; a **Need** it reports is built here and
the author resumed.
4. **Check offline**:
```sh
npm run types:check
npm run lint
npm run lint:qa
npx playwright test apps/<pack>/specs/<file> --list
```
Every approved case of the file appears once per device project, except the `@visual`,
`@destructive`, `@quarantine`, `@a11y-sweep` and `@web-vitals` ones, which only their lanes
select.
5. **Run** the new specs on every device project of the environment, twice:
`npx playwright test apps/<pack>/specs/<file> --repeat-each=2`. Each case passes, or fails as an
armed known gap; a precondition the environment does not meet skips with its reason. Anything
else is a test error to fix, or a finding for `qa-report-bug`. A spec that passes only sometimes
is not done.
6. **Visual cases**: write or rewrite the baselines with
`npm run lanes:visual -- --phase automate --update`, then run `npm run lanes:visual` to compare.
The lane runs in the pinned container (ADR 0009). Look at every new or changed baseline image
before the gate.
7. **Review each spec against its cases** with [`ui-spec-reviewer`](../../agents/ui-spec-reviewer.md),
one launch per spec file with its registry and case ids. It reads with a fresh context and
changes nothing. Fix every `blocker` and `major` (or resume the spec's author with the report),
decide each `minor`, and run again. A file whose verdict is `block` does not reach the gate.
8. **Record**: each automated row moves to `automated` with its Spec column filled.
`npm run lint:suite` and `npm run coverage:status` must not report the feature.
9. **Review gate.** Show the spec files, the run summary (passed, failed as armed, skipped with
reasons, per device), the new or changed baseline images, data the run could not clean up and the
registry diff. Then wait until the user approves.
10. **Hand off** to `qa-publish`.
## If it stops halfway
- A row moves to `automated` only when its spec exists, ran as designed and passed review. Never
mark ahead of the code.
- A spec that cannot be finished is removed before the gate and its row stays `approved`. A
`test.fixme` is a working state, never a commit.
- Data the run created and could not remove is listed in the summary with how to remove it.
## Do not
- Automate a `draft` case, or change what a case means while coding it; send it back to `qa-design`.
- Update baselines with `--update-snapshots` or outside the visual lane.
- Publish, report runs or edit case definitions in the test-management tool.
- Write an email, a password or a real name into a spec; builders and placeholders only.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · marceloancieta/web-qa-agentic-framework | 100 | Apache-2.0 |
| TrinhVanHiep/bdt-kit | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 9b30f6de08f5 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Podobne skille
- 100automate
Zamienia przypadki testowe ręczne w testy automatyczne w Playwright lub pytest i buduje ramy testów. - 90sdlc-qa-automate
Zamienia zatwierdzone przypadki testowe w zautomatyzowane testy w istniejącym zestawie projektu, najpierw pisząc test, i zapisuje pokrycie. - 90qa-publish
Wysyła definicje zautomatyzowanych przypadków do narzędzia zarządzania testami, sprawdza je odczytem zwrotnym i oznacza jako opublikowane. - 85playwright-qa
Projektuje przypadki testowe z wymagań, pisze raporty błędów i przegląda testy Playwright dla inżynierów QA. - 100pwauto-automate
Zamienia zatwierdzone scenariusze BDD w testy Playwright z page objects, krokami i danymi testowymi, aż przejdą. - 100playwright-e2e-testing
Tworzy i utrzymuje wersjonowane specyfikacje UI w Playwright (TypeScript) dla przepływów użytkownika: formularze, logowanie, nawigacja, fixtures, Page Objects, mockowanie UI i porównania wizualne.