Given the navigation has no link "Docs"

Make sure the primary navigation has no link with a label: for the start of a scenario that adds one and for cleaning up after it. It asks the Admin API with the session of the browser and passes when there is no such link.

Examples

Given the navigation has no link "Docs"
Given the navigation has no link "Elsewhere"
And the navigation has no link "Guides"
Then the navigation has no link "Docs"
Given the navigation has no link "Temporary"

Pattern

Given(/^the navigation has no link "([^"]*)"$/, …)

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