Then the forum should list the topic "Welcome to the forums"

Assert the list on the page has (or has not) a topic, by its title, or the forum a subforum, by its name. The list is the one of a forum, a topic tag, a view or a page of a profile.

Examples

Then the forum should list the topic "Welcome to the forums"
And the forum should not list the topic "Staff only: the moderation notes"
Then the forum should list the subforum "General discussion"
And the forum should list the topic "Forum rules"
Then the forum should not list the subforum "Showcase"

Pattern

Then(/^the forum should( not)* list the (topic|subforum) "([^"]*)"$/, …)

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