Then the topic "Favourite keyboard shortcuts of the team" in the list should have 3 replies

The number of replies of a topic in the list on screen (the first post is not a reply).

Examples

Then the topic "Favourite keyboard shortcuts of the team" in the list should have 3 replies
Then the topic "How to install the product on a laptop" in the list should have 2 replies
Then the topic "Where are the nightly backups kept" in the list should have 1 reply
Then the topic "Release notes for the spring update" in the list should have 0 replies
Then the topic "A topic the suite reads today" in the list should have one reply

Pattern

Then(/^the topic "([^"]*)" in the list should have (\w+) repl(?:y|ies)$/, …)

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