Upload a file to the asset being edited, as a person does: the drop zone "Upload a file", the file, then the upload finishing (the zone marks the file done). The title of the asset is the file's name until it is set. The file is one of the pack's fixtures (tests/fixtures/) or the project's (tests/assets/).
Examples
When I upload the file "webship-test-notes.txt" to the asset
When we upload the file "webship-test-notes.txt" to the asset
And I upload the file "webship-test-notes.txt" to the asset
When I upload the file "tests/fixtures/webship-test-notes.txt" to the asset
When I upload the file "webship-test-picture.png" to the asset
Pattern
When(/^(?:I|we) upload the file "([^"]*)" to the asset$/, …)
Part of @webship-js/mautic-steps (github.com/webship/mautic-steps), a step pack for Webship-js 2.0.x.