Make sure no tag with a name exists: for the start of a scenario that creates one and for cleaning up after it. It asks the Admin API with the session of the browser and passes when there is nothing to delete.
Examples
Given there is no tag named "A tag from the suite"
Given there is no tag named "Another tag"
And there is no tag named "Suite"
Then there is no tag named "A tag from the suite"
Given there is no tag named "Temporary"
Pattern
Given(/^there is no tag named "([^"]*)"$/, …)
Part of @webship-js/ghost-steps (github.com/webship/ghost-steps), a step pack for Webship-js 2.0.x.