Then the global search should find "Webship Test Kettle"

Assert that the global search found a record (a result's title), or did not; or that it found nothing at all.

Examples

Then the global search should find "Webship Test Kettle"
Then the global search should not find "Webship Brand Alpha"
And the global search should find "WS-TEST-0001"
Then the global search should find nothing
And the global search should find "Webship note about the harbour"

Pattern

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

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