When I create an article titled "Review article"

Create an article through the administrator form: open the new article form, choose the category when one is given, fill the title and the text, set the status or the featured flag, then Save & Close. The default status is the one of Joomla, Published.

Examples

When I create an article titled "Review article"
When I create an article titled "Review article" in the "Blog" category
When I create a featured article titled "Review featured" in the "Blog" category with the text "Featured on the home page."
When we create an unpublished article titled "Review draft" with the text "Not yet."
When I create an article titled "Review text" with the text "Some text."

Pattern

When(/^(I |we )*create (?:an? )?(featured |unpublished )?article titled "([^"]*)?"(?: in the "([^"]*)?" category)?(?: with the text "([^"]*)?")?$/, …)

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