Assert a comment is in a status on the Comments screen, by its text: pending, approved, spam or in the trash.
Examples
Then the comment "Thank you for the article." should be pending
And the comment "Good point." should be approved
Then the comment "Spam text." should be in the trash
And the comment "Held back." should not be approved
Then the comment "Buy now." should be spam
Pattern
Then(/^the comment "([^"]*)" should( not)* be (pending|approved|spam|in the trash)$/, …)
Part of @webship-js/wordpress-steps (github.com/webship/wordpress-steps), a step pack for Webship-js 2.0.x.