Skip to main content
On first run, captures the golden image and stores it next to the test. On subsequent runs, fails the step if the rendered region differs by more than threshold. Re-record a golden by deleting it and re-running. The bare form - visualDiff diffs the full viewport.

Parameters

Shorthand

Bare command. Diffs the full viewport.

Examples