You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 561b293
Browse filesBrowse the repository at this point in the historyBrowse files
Run Vitest and Playwright scenarios from qa suite (#92606)
* test(qa): run vitest and playwright scenarios from qa suite
* fix(qa): harden scenario suite dispatch
* refactor(qa): share scenario path utilities
* refactor(qa): share test file scenario runner
* refactor(qa): route test file scenarios through suite runtime
* refactor(qa): use explicit suite runtime result kind
* test(qa): write suite evidence artifact
* refactor(qa): clarify suite execution dispatch
* fix(qa): keep test-file scenarios out of flow-only runners
* refactor(qa): export mixed scenario suite runner
Copy file name to clipboardExpand all lines: docs/concepts/qa-e2e-automation.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -787,9 +787,10 @@ the source of truth for one test run and should define:
787
787
- docs and code refs
788
788
- optional plugin requirements
789
789
- optional gateway config patch
790
-
- the executable `qa-flow`
790
+
- an executable `qa-flow` block for flow scenarios, or `execution.kind`/`execution.path`
791
+
for Vitest and Playwright scenarios
791
792
792
-
The reusable runtime surface that backs `qa-flow` is allowed to stay generic
793
+
The reusable runtime surface that backs `qa-flow`blocks is allowed to stay generic
793
794
and cross-cutting. For example, markdown scenarios can combine transport-side
794
795
helpers with browser-side helpers that drive the embedded Control UI through the
795
796
Gateway `browser.request` seam without adding a special-case runner.
@@ -915,6 +916,7 @@ The report should answer:
915
916
For the inventory of available scenarios - useful when sizing follow-up work or wiring a new transport - run `pnpm openclaw qa coverage` (add `--json` for machine-readable output).
916
917
When choosing focused proof for a touched behavior or file path, run `pnpm openclaw qa coverage --match <query>`.
917
918
The match report searches scenario metadata, docs refs, code refs, coverage IDs, plugins, and provider requirements, then prints matching `qa suite --scenario ...` targets.
919
+
Every `qa suite` scenario execution writes a `qa-evidence.json` artifact. Flow scenarios also write `qa-suite-summary.json` for existing suite/report tooling; scenarios that declare `execution.kind: vitest` or `execution.kind: playwright` run the matching test path and write `qa-vitest-report.md` or `qa-playwright-report.md` plus per-scenario logs.
918
920
Treat it as a discovery aid, not a gate replacement; the selected scenario still needs the right provider mode, live transport, Multipass, Testbox, or release lane for the behavior under test.
919
921
920
922
For character and style checks, run the same scenario across multiple live model
0 commit comments