Then the visual comparison should have changes

Assert that the last comparison found changes, or found none. "Changes" means Diffy reports a percentage of changed pages above zero, or any page with changed pixels. The comparison is waited for when no step has waited for it. A failure lists the changed pages and the report link.

Diffy API: GET diffs/{id}

Examples

Then the visual comparison should have changes
And the visual comparison should have changes
Then the visual comparison should not have changes
And the visual comparison should not have changes
But the visual comparison should not have changes

Pattern

Then(/^the visual comparison should( not)* have changes$/, …)

Part of @webship-js/diffy-steps (github.com/webship/diffy-steps), a step pack for Webship-js 2.0.x.