Then "blog/launch-day" should be published on the site

Assert that an address of the site is, or is not, published: a visitor who is not logged in gets the page, or "not found". A disabled entry, a draft, a pending or an expired entry is not published.

Examples

Then "blog/launch-day" should be published on the site
Then "blog/unfinished-thoughts" should not be published on the site
Then "about/team" should be published on the site
And "blog/a-draft-only" should not be published on the site
And "topics/product" should be published on the site

Pattern

Then(/^"([^"]*)" should( not)* be published on the site$/, …)

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