Make sure no category has a name: when the tree holds it, it is selected and deleted (with its sub-categories). The clean-up of a category a scenario creates. Needs a logged-in admin user.
Examples
Given there is no category "Test Category"
And there is no category "Test Category"
Given there is no category "Round Trip"
And there is no category "Old Stuff"
Given there is no category "Temporary"
Pattern
Given(/^there is no category "([^"]*)"$/, …)
Part of @webship-js/magento-steps (github.com/webship/magento-steps), a step pack for Webship-js 2.0.x.