Assert the text of the page's body (the rendered content, without the skin around it), or that a text is not there.
Examples
Then the page text should contain "First version of the page."
Then the page text should not contain "Second version"
And the page text should contain "Typed in the visual editor"
Then the page text should contain "A wiki is a website"
And the page text should not contain "Words to change."
Pattern
Then(/^the page text should( not)* contain "([^"]*)"$/, …)
Part of @webship-js/mediawiki-steps (github.com/webship/mediawiki-steps), a step pack for Webship-js 2.0.x.