When I add an image card to the editor from the file "tests/fixtures/feature.png"

Add an image card at the end of the text and upload a file of the project into it. The step waits until the site has stored the image.

Examples

When I add an image card to the editor from the file "tests/fixtures/feature.png"
When we add an image card to the editor from the file "tests/fixtures/feature.png"
And I add an image card to the editor from the file "tests/fixtures/photo.jpg"
When I add an image card to the editor from the file "fixtures/logo.png"
When add an image card to the editor from the file "tests/fixtures/feature.png"

Pattern

When(/^(?:I |we )?add an image card to the editor from the file "([^"]*)"$/, …)

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