Search for a term with the unified search of the header, as a person does: the box clicked, the term typed. The step waits for every provider's search request and for the status line of the results.
Examples
When I search for "team" in the unified search
When I search for "annual" in the unified search
When we search for "meeting" in the unified search
And I search for "budget" in the unified search
When I search for "no such thing" in the unified search
Pattern
When(/^(?:I|we) search for "([^"]*)" in the unified search$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.