Moderate a comment on the Comments screen, by its text, with the row action: approve, unapprove, trash, spam, restore (from the trash) or delete (from the trash or the spam view, for good). The screen updates the row without leaving the page.
Examples
When I approve the comment "Thank you for the article."
When we unapprove the comment "Good point."
And I trash the comment "Spam text."
When I restore the comment "Spam text."
And we delete the comment "Spam text." permanently
Pattern
When(/^(I |we )*(approve|unapprove|trash|spam|restore|delete) the comment "([^"]*)"(?: permanently)?$/, …)
Part of @webship-js/wordpress-steps (github.com/webship/wordpress-steps), a step pack for Webship-js 2.0.x.