Then the category "Reports" should exist

Assert a category or a tag exists, by name.

Examples

Then the category "Reports" should exist
And the tag "webship" should exist
Then the category "Removed" should not exist
And the tag "gone" should not exist
Then the category "Uncategorized" should exist

Pattern

Then(/^the (category|tag) "([^"]*)" should( not)* exist$/, …)

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