Then the board index should list the forum "General discussion"

Assert that the board index lists a forum, or does not; with a category, that the forum is in it. A forum the account may not read is not listed.

Examples

Then the board index should list the forum "General discussion"
Then the board index should list the forum "Help and support" in the category "Community"
And the board index should not list the forum "Staff room"
Then the board index should list the forum "Staff room" in the category "Staff"
And the board index should list the forum "Your first forum"

Pattern

Then(/^the board index should (not )?list the forum "([^"]*)"(?: in the category "([^"]*)")?$/, …)

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