When I open the search result "team-photo.png"

Open a result of the unified search by its words (a file opens in the Files app, in the viewer when it can).

Examples

When I open the search result "team-photo.png"
When I open the search result "annual-report.pdf"
When we open the search result "Teams"
And I open the search result "meeting-notes.md"
When I open the search result "Security"

Pattern

When(/^(?:I|we) open the search result "([^"]*)"$/, …)

Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.