Then the article "Review article" should be published

Assert the state of an item: published, unpublished, archived, trashed, featured, unfeatured, enabled (a plugin, an extension or a user), disabled, blocked (a user) or checked out. The step opens the list of the kind filtered by the title, with every state shown, and reads the status icons of the row.

Examples

Then the article "Review article" should be published
Then the article "Review article" should not be published
Then the module "Review module" should be unpublished
And the article "Review article" should be featured
Then the plugin "System - Page Cache" should be disabled

Pattern

Then(/^the (article|category|menu item|module|plugin|extension|user) "([^"]*)?" should( not)* be (published|unpublished|archived|trashed|featured|unfeatured|enabled|disabled|blocked|checked out)$/, …)

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