Skip to main content

How It Works

  1. A test runs and a step fails (e.g., a button can’t be found)
  2. The CLI’s AI analyzes the current page state — what’s visible, what changed
  3. It attempts to recover: finding the element by alternative means, waiting for the right condition, or adapting to the new UI
  4. If recovery succeeds, the test continues and the step is marked as healed
  5. If recovery fails, the test is marked as failed and escalated to auto-healing
This all happens transparently during test execution — no manual intervention needed.

What Auto-Recovery Can Fix


What Auto-Recovery Can’t Fix (But Auto Healing can!)

Some issues require deeper analysis and code changes:
  • Major flow changes (steps added or removed)
  • Completely redesigned pages
  • Changed business logic
  • New authentication requirements
These are handled by Auto-Healing, which creates a full AI agent session to fix the tests.

Viewing Recovery Results

In your test run results, recovered tests show up in the healed count:
AUTO_RECOVER

Enabling Auto-Recovery

Auto-recovery runs when your project’s run mode is set to Auto-Heal. This is controlled by the runMode option in checksum.config.ts: Set runMode: RunMode.Heal in checksum.config.ts to enable it. See the runMode reference for full details.