Upload the captured screenshots to Diffy as one named screenshot set. The set is marked as a functional-test upload, so the pages need not be in the project URL list (DIFFY_FUNCTIONAL_TEST=false turns that off). More than ten images are sent in batches. On success the captured screenshots, and the files this pack wrote to DIFFY_SCREENSHOTS_DIR, are cleared.
Diffy API: POST projects/{id}/create-custom-snapshot (multipart), and PUT snapshots/{id} for batches after the first ten images
Examples
Then send the screenshots for visual comparison with name "baseline"
Then send the screenshots for visual comparison with name "changed"
Then send the screenshots for visual comparison with name "homepage-release-2.0"
Then send the screenshots for visual comparison with name "after-deploy"
Then send the screenshots for visual comparison with name "smoke-run"
Then send the screenshots for visual comparison with name "webship.co-prod"
Pattern
Then(/^(I |we )*send (?:the )?screenshots for visual comparison with name "([^"]*)"$/, …)
Part of @webship-js/diffy-steps (github.com/webship/diffy-steps), a step pack for Webship-js 2.0.x.