Then the breadcrumb should contain "About"

Assert the breadcrumb contains (or does not contain) a page, by its menu title: a link for an ancestor, plain text for the current page.

Examples

Then the breadcrumb should contain "About"
Then the breadcrumb should not contain "Contact"
And the breadcrumb should contain "Team"
Then the breadcrumbs should contain "Home"
But the breadcrumb should not contain "Draft notes"

Pattern

Then(/^the breadcrumbs? should( not)* contain "([^"]*)"$/, …)

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