Then the page should be in the category "Test guides"

Assert that the page is, or is not, in a category, as its categories box at the foot of the page lists it.

Examples

Then the page should be in the category "Test guides"
Then the page should not be in the category "Drafts"
And the page should be in the category "Test pages"
Then the page should be in the category "Editing guides"
And the page should not be in the category "Test guides"

Pattern

Then(/^the page should( not)* be in the category "([^"]*)"$/, …)

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