Assert the sections of the page, in order, with their levels (2 for == Heading ==, 3 for === Heading ===).
Examples
Then the page should have these sections in order:
And the page should have these sections in order:
Then the page should have these sections in order:
Then the page should have these sections in order:
And the page should have these sections in order:
Pattern
Then(/^the page should have these sections in order:$/, …)
Part of @webship-js/mediawiki-steps (github.com/webship/mediawiki-steps), a step pack for Webship-js 2.0.x.