When I delete the media file "webshipco" permanently

Delete a media file for good, by its title, with the "Delete Permanently" row action of the library. The browser's confirmation is accepted. Use it at the end of a scenario that uploaded a file.

Examples

When I delete the media file "webshipco" permanently
When we delete the media file "test-document" permanently
And I delete the media file "webshipco" permanently
When I delete the media file "photo" permanently
And we delete the media file "test-document" permanently

Pattern

When(/^(I |we )*delete the media file "([^"]*)" permanently$/, …)

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