A post of the topic on screen says the account flagged it ("You flagged this as off-topic").
Examples
Then post 2 should show "You flagged this as off-topic"
Then post 1 should show "You flagged this as inappropriate"
Then post 2 should show "You flagged this as spam"
Then post 3 should show "You flagged this"
Then post 2 should show "flagged this as off-topic"
Pattern
Then(/^post (\d+) should show "([^"]*)"$/, …)
Part of @webship-js/discourse-steps (github.com/webship/discourse-steps), a step pack for Webship-js 2.0.x.