Then post 2 should have 1 like

The number of likes a post of the topic on screen shows, and whether the account liked it.

Examples

Then post 2 should have 1 like
Then post 1 should have 4 likes
Then post 2 should have no likes
Then post 2 should be liked by me
Then post 3 should not be liked by me

Pattern

Then(/^post (\d+) should (?:have (\w+) likes?|(be|not be) liked by me)$/, …)

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