mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 14:30:41 +00:00
- 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
918 B
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