Then the contents list should list "Overview"

Assert that the contents list of the page lists, or does not list, a section.

Examples

Then the contents list should list "Overview"
Then the contents list should not list "History"
And the contents list should list "Source editing"
Then the contents list should list "References"
And the contents list should not list "Removed section"

Pattern

Then(/^the contents list should( not)* list "([^"]*)"$/, …)

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