Upload a file of the project's tests/assets folder (or a path from the project's root) into the folder on screen, and wait for the admin's answer.
Examples
When I upload "test-lighthouse.png" to the media library
And I upload "test-lighthouse.png" to the media library
When I upload "broken-image.png" to the media library
When I upload "tests/assets/test-lighthouse.png" to the media library
When I upload "test-lighthouse.png" to the media library
Pattern
When(/^I upload "([^"]*)" to the media library$/, …)
Part of @webship-js/strapi-steps (github.com/webship/strapi-steps), a step pack for Webship-js 2.0.x.