mix excessibility.compare (Excessibility v0.5.13)

View Source

Compares current snapshots against the baseline and prompts for resolution.

For each snapshot that differs from its baseline, this task:

  1. Creates .good.html (baseline) and .bad.html (new) files
  2. Opens both in your browser for comparison
  3. Prompts you to choose which version to keep
  4. Updates the baseline with your choice

Usage

# Interactive mode - prompts for each diff
$ mix excessibility.compare

# Keep all baseline (good) versions
$ mix excessibility.compare --keep good

# Accept all new (bad) versions as baseline
$ mix excessibility.compare --keep bad

Options

  • --keep good - Automatically keep all baseline versions (no changes)
  • --keep bad - Automatically accept all new versions as baseline

Workflow

  1. Run your tests to generate snapshots
  2. Run this task to compare against baseline
  3. Review diffs and choose which to keep
  4. The selected version becomes the new baseline