Then the forum should list the topic "Weekend baking thread"

Assert that the forum on screen lists a topic, a subforum or an announcement, or does not. The step looks through the pages of the forum for a topic.

Examples

Then the forum should list the topic "Weekend baking thread"
Then the forum should not list the topic "Webship test topic"
And the forum should list the subforum "Introductions"
Then the forum should list the announcement "Board rules"
And the forum should not list the subforum "Staff room"

Pattern

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

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