Then the unified search should find "team-photo.png" in "Files"

The unified search found a result under a provider's heading (Files, Apps, Settings) — or did not.

Examples

Then the unified search should find "team-photo.png" in "Files"
Then the unified search should find "Teams" in "Apps"
Then the unified search should not find "budget.txt" in "Files"
And the unified search should find "annual-report.pdf" in "Files"
Then the unified search should find "Security" in "Settings"

Pattern

Then(/^the unified search should( not)? find "([^"]*)" in "([^"]*)"$/, …)

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