noflake run

Execute your full test suite and generate a report with pass/fail status, failure screenshots, and AI-suggested fixes.

🚧 Coming in v1.0

Usage

npx noflake run [options]

Options

FlagDescriptionDefault
--headedRun tests in a visible browser windowfalse
--report <format>Report format: md, json, htmlmd
--fixAttempt AI-powered fixes for failing testsfalse

How it works

  1. Execute — Runs your full Playwright suite from tests/e2e/
  2. Report — Generates a formatted report with pass/fail per test, error messages, and screenshots
  3. Fix (with --fix) — For failing tests, sends the error to Claude and attempts an automatic fix
  4. Save — Updates run history in .noflake/run-history.md and saves the report to .noflake/report.md

Report Formats

Markdown (default)

Perfect for dropping into a PR description or posting as a comment. Includes pass/fail status, error summaries, and AI-suggested fixes.

JSON

Machine-readable output for CI/CD pipelines and custom integrations.

HTML

Visual report you can open in a browser. Includes screenshots of failures.

Example (preview)

$ npx noflake run --report md

ā–¶ļø  NoFlake — Run Tests

šŸŽ­ Running Playwright test suite...

šŸ“Š Results:

  āœ… user-signup-flow
  āœ… user-login-flow
  āœ… dashboard-crud-operations
  āŒ settings-profile-update
     Error: Timeout waiting for selector #save-btn

  4 passed, 1 failed, 5 total

šŸ“„ Report saved to .noflake/report.md