Assert who may edit a page, as the wiki's API reports its protection.
Examples
Then the page "Protection test page" should be protected so that only autoconfirmed users can edit it
Then the page "Protection test page" should be protected so that only administrators can edit it
Then the page "Protection test page" should not be protected
And the page "Second test page" should be protected so that only administrators can edit it
And the page "Second test page" should not be protected
Pattern
Then(/^the page "([^"]*)" should (?:be protected so that only (autoconfirmed users|administrators) can edit it|(not) be protected)$/, …)
Part of @webship-js/mediawiki-steps (github.com/webship/mediawiki-steps), a step pack for Webship-js 2.0.x.