Then the topic "Weekend baking thread" in the forum should have 12 replies

Assert the number of replies of a topic, or its author, in the list of the forum on screen.

Examples

Then the topic "Weekend baking thread" in the forum should have 12 replies
Then the topic "A walk along the river" in the forum should have 0 replies
And the topic "Weekend baking thread" in the forum should be by "member"
Then the topic "Board rules" in the forum should be by "administrator"
And the topic "Webship test topic" in the forum should have 1 reply

Pattern

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

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