When I search for "firewall"

Search the site: focus the search box of the navbar (which loads the index), wait until the index is in, type the words, and wait until the suggestions (or "No results") are shown under the box.

Examples

When I search for "firewall"
And I search for "version"
When we search for "installation"
When search for "nothing like this"
And I search for "port"

Pattern

When(/^(I |we )*search for "([^"]*)?"$/, …)

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