Given the article "Review article" is removed

Make sure an item is gone, whatever state it is in: when the list has it, it is trashed and deleted permanently; when it does not, nothing happens. Put it at the top of a scenario that creates the item, so the scenario can run again after a failed run left the item behind.

Examples

Given the article "Review article" is removed
Given the category "Review category" is removed
Given we have the module "Review module" removed
And the menu item "Review item" is removed
Given the menu "Review menu" is removed

Pattern

Given(/^(?:the |we have the )(article|category|menu item|module|menu|content language) "([^"]*)?"(?: is removed| removed)$/, …)

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