Assert the suggestions under the search box list (or do not list) a page or a heading: a suggestion whose title contains the text, case and spacing aside.
Examples
Then the search should suggest "Behind a firewall"
And the search should suggest "Version 2.0"
But the search should not suggest "Installation"
Then search should suggest "Check the installation"
And the search should not suggest "Version 3.0"
Pattern
Then(/^(?:the )?search should( not)* suggest "([^"]*)?"$/, …)
Part of @webship-js/docusaurus-steps (github.com/webship/docusaurus-steps), a step pack for Webship-js 2.0.x.