When I delete the media file "pixel.png"

Delete a file of the Media Manager folder that is open: select it, press "Delete" and confirm in the dialog.

Examples

When I delete the media file "pixel.png"
When we delete the media file "pixel.png"
And I delete the media file "photo.jpg"
When delete the media file "pixel.png"
And we delete the media file "old.png"

Pattern

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

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