Then the navigation should have the item "Search"

Assert that the navigation of the page has, or does not have, an item: a link of a navigation landmark (the menu of the header), by its text.

Examples

Then the navigation should have the item "Search"
Then the navigation should have the item "Backend"
And the navigation should not have the item "Backend"
Then the navigation should have the item "Post list"
Then the navigation should have the item "Back to blog"

Pattern

Then(/^the navigation should( not)* have the item "([^"]*)"$/, …)

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