Given the file "pixel.png" does not exist

Make sure the site stores no file with a name: every file of that name is deleted from the file listing (Content > Manage files). For the start or the end of a scenario that uploads a file.

Examples

Given the file "pixel.png" does not exist
Given the file "hive.jpg" does not exist
And the file "report.pdf" does not exist
Given the file "upload-test.png" does not exist
And the file "pixel.png" does not exist

Pattern

Given(/^the file "([^"]*)" does not exist$/, …)

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