Assert that a category page lists, or does not list, a page or a subcategory.
Examples
Then the category should list the page "Reading test page"
Then the category should list the subcategory "Editing guides"
And the category should not list the page "Second test page"
Then the category should not list the subcategory "Drafts"
And the category should list the page "Second test page"
Pattern
Then(/^the category should( not)* list the (page|subcategory) "([^"]*)"$/, …)
Part of @webship-js/mediawiki-steps (github.com/webship/mediawiki-steps), a step pack for Webship-js 2.0.x.