Files
ComfyUI_frontend/tools/test-recorder/README.md
bymyself 0959435d53 test: add unit tests for test-recorder transform and improve README
- Add 25 colocated unit tests for transform rules and engine
- Add tools/ to vitest include pattern
- Improve README with quick-start prereqs and test instructions
2026-04-06 14:25:16 -07:00

918 B

@comfyorg/test-recorder

Interactive CLI for recording and transforming Playwright browser tests for ComfyUI.

Quick Start

Prerequisites: Node.js ≥ 20, pnpm, a running ComfyUI backend. See the Browser Tests README for detailed environment setup including Playwright installation and backend configuration.

pnpm comfy-test check       # Verify your environment is ready
pnpm comfy-test record      # Record a new test
pnpm comfy-test transform <file>  # Transform raw codegen to conventions
pnpm comfy-test list         # List available workflows

For QA Testers

See the Browser Tests README for full setup instructions.

Development

cd tools/test-recorder
pnpm build     # Compile TypeScript
pnpm dev       # Watch mode

Run unit tests from the repo root:

pnpm test:unit -- tools/test-recorder