Assert the status of an item of the index: Live, Pending, Expired, Disabled, Draft, Enabled, ...
Examples
Then "Launch day" should have the status "Live" in the index
Then "Unfinished thoughts" should have the status "Disabled" in the index
Then "Product" should have the status "Enabled" in the index
And "Product" should have the status "Enabled" in the index
Then "A scheduled article" should have the status "Pending" in the index
Pattern
Then(/^"([^"]*)" should have the status "([^"]*)" in the index$/, …)
Part of @webship-js/craft-cms-steps (github.com/webship/craft-cms-steps), a step pack for Webship-js 2.0.x.