Open a file of the list in the viewer, as a person does: its name, clicked. The step waits for the viewer and for what it shows: a picture loaded, a PDF's pages counted, the text editor ready.
Examples
When I open the file "team-photo.png"
When I open the file "annual-report.pdf"
When I open the file "meeting-notes.md"
When we open the file "budget.txt"
And I open the file "team-photo.png"
Pattern
When(/^(?:I|we) open the file "([^"]*)"$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.