Then the "Main navigation" menu should contain "Home"

Assert a menu contains, or does not contain, a link with a given title, by the menu's label ("Main navigation") or machine name ("main"), as the menu's edit page lists its links (disabled links included).

Examples

Then the "Main navigation" menu should contain "Home"
And the "main" menu should contain "Home"
Then the "Footer" menu should not contain "Contact"
And the "Main navigation" menu should not contain "Log in"
Then the "User account menu" menu should contain "My account"

Pattern

Then(/^the "([^"]*)" menu should( not)* (?:contain|list) "([^"]*)"$/, …)

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