Then the page should be a website page

Assert the page is (or is not) of a HubSpot kind: a website page, a landing page, a blog listing page or a blog post page. HubSpot marks each with a class (hs-site-page, hs-landing-page, hs-blog-listing, hs-blog-post) on the body, whatever the theme.

Examples

Then the page should be a website page
Then the page should be a landing page
And the page should be a blog listing page
And this page should be a blog post page
But the page should not be a blog post page

Pattern

Then(/^(?:the |this )?page should( not)* be a (website|landing|blog listing|blog post) page$/, …)

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