Then the search should find "Morning light over the harbour"

What the site search found: a post by its title, or nothing ("No results found.").

Examples

Then the search should find "Morning light over the harbour"
Then the search should find nothing
And the search should find "Recipes from the harbour kitchen"
Then the search should find "The long walk to the lighthouse"
And the search should find nothing

Pattern

Then(/^the search should find (?:"([^"]*)"|nothing)$/, …)

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