Assert the search results do (or do not) include a result whose title contains the text.
Examples
Then the search results should include "Pricing"
And the search results should include "5 tips for testing a HubSpot CMS site"
Then the search results should include "forms"
But the search results should not include "Contact us"
Then search results should not include "Checkout"
Pattern
Then(/^(?:the )?search results should( not)* include "([^"]*)"$/, …)
Part of @webship-js/hubspot-cms-steps (github.com/webship/hubspot-cms-steps), a step pack for Webship-js 2.0.x.