When I set the feature image to the file "tests/fixtures/feature.png"

Upload the feature image of the post or page (the image above the title) from a file of the project.

Examples

When I set the feature image to the file "tests/fixtures/feature.png"
When we set the feature image to the file "tests/fixtures/feature.png"
And I set the feature image to the file "tests/fixtures/photo.jpg"
When I set the feature image to the file "fixtures/cover.png"
When set the feature image to the file "tests/fixtures/feature.png"

Pattern

When(/^(?:I |we )?set the feature image to the file "([^"]*)"$/, …)

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