The ui-test command reads a ui-manifest.ts companion file alongside your manifest, resolves $ref values, and outputs a structured JSON test plan for the sn-ui-tester agent to execute.
ui-test
Generate UI test plan from ui-manifest.ts companion.
sn ui-test <manifest.ts> Generate UI test plan from ui-manifest.ts companion.
Arguments
| Name | Required | Description |
|---|---|---|
| manifest.ts | Yes | Path to the manifest. A ui-manifest.ts companion must exist in the same directory. |
Examples
sn ui-test manifests/it-onboarding/manifest.tsResolved 3 UI test cases
Test plan written to .sn-results/ui/plan.json
The generated plan is consumed by the sn-ui-tester agent, which uses browser automation to visually validate records and flows.