Upload a file in the Media Manager folder that is open: give the file to the upload input of the manager (the same input the Upload button opens). The path is relative to the folder the suite runs in, or absolute.
Examples
When I upload the file "tests/fixtures/pixel.png" to the media manager
When we upload the file "tests/fixtures/pixel.png" to the media manager
And I upload the file "tests/fixtures/pixel.png" to the media manager
When upload the file "tests/fixtures/pixel.png" to the media manager
And we upload the file "/tmp/photo.jpg" to the media manager
Pattern
When(/^(I |we )*upload the file "([^"]*)?" to the media manager$/, …)
Part of @webship-js/joomla-steps (github.com/webship/joomla-steps), a step pack for Webship-js 2.0.x.