Then this should be a published page

Assert that the current page is, or is not, a page published by Webflow: its <html> tag carries the data-wf-page and data-wf-site attributes.

Examples

Then this should be a published page
Then this page should be a published page
And this should not be a published page
Then this page should not be a published page
And this page should be a published page

Pattern

Then(/^this( page)? should( not)* be a published page$/, …)

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