Choose a file from the test's files for the form of a new document of an upload collection (its "Select a file"): a file of the project's tests/assets/, else of the pack's own.
Examples
When I choose the file "test-lighthouse.png" to upload
And I choose the file "test-lighthouse.png" to upload
When I choose the file "test-lighthouse.png" to upload
Given I choose the file "test-lighthouse.png" to upload
When I choose the file "test-lighthouse.png" to upload
Pattern
When(/^I choose the file "([^"]*)" to upload$/, …)
Part of @webship-js/payload-steps (github.com/webship/payload-steps), a step pack for Webship-js 2.0.x.