Then the media library should list "webshipco"

Assert the media library lists a file, by its title (the file name without its extension).

Examples

Then the media library should list "webshipco"
And the media library should list "test-document"
Then the media library should not list "deleted-file"
And the media library should not list "no-such-file"
And the media library should list "photo"

Pattern

Then(/^the media library should( not)* list "([^"]*)"$/, …)

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