Then create a visual screenshot from the "production" environment

Ask Diffy to capture the project's pages from one of the project's environments. Accepts short (prod, stage, dev) or long (production, staging, development) names, and "custom", which captures DIFFY_ENV1_URL.

Diffy API: POST projects/{id}/screenshots

Examples

Then create a visual screenshot from the "production" environment
Then create a visual screenshot from the "prod" environment
Then create a visual screenshot from the "staging" environment
Then create a visual screenshot from the "stage" environment
Then create a visual screenshot from the "development" environment
Then create a visual screenshot from the "dev" environment
Then create a visual screenshot from the "custom" environment

Pattern

Then(/^(I |we )*create (?:a )?visual screenshot from (?:the )?"([^"]*)" environment$/, …)

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