Then I should be viewing the "Accordions" page

Assert the current page's main heading does (or does not) include the given title. Landing-style pages render their heading in the h1.carousel-header hero; content-example detail pages (e.g. Accordion, Quote) render it in h1.element-header. Whichever is present first is the heading that is checked.

Examples

Then I should be viewing the "Accordions" page
And I should be viewing the "Quote" page
Then we should be viewing the "Page Layouts" page
Then I should not be viewing the "Checkout" page
And should be viewing the "Content Management Made Easy" page

Pattern

Then(/^(I |we )*should( not)* be viewing the "([^"]*)?" page$/, …)

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