Then the topic "Welcome to the forums" should have 2 replies in the list

Assert what the row of a topic says: its replies (the "Posts" column counts the topic's own post too), its voices (the accounts that wrote in it), or who started it.

Examples

Then the topic "Welcome to the forums" should have 2 replies in the list
And the topic "Welcome to the forums" should have 3 voices in the list
Then the topic "Forum rules" should be by "keymaster" in the list
And the topic "Forum rules" should have 0 replies in the list
Then the topic "A community garden in spring" should have 1 reply in the list

Pattern

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

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