Search the accounts list (its box "Search accounts and groups…"); the step waits for the server's answer.
Examples
When I search the accounts for "edit"
When I search the accounts for "administrator"
When we search the accounts for "user"
And I search the accounts for "example.com"
When I search the accounts for "nobody"
Pattern
When(/^(?:I|we) search the accounts for "([^"]*)"$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.