Then the page type should be "product"

The type of the page, as the store reports it (ShopifyAnalytics.meta.page.pageType): "home", "collection", "product", "searchresults", "cart", "page" and others.

Examples

Then the page type should be "product"
Then the page type should be "collection"
And the page type should be "searchresults"
Then the page type should not be "home"
But the page type should not be "cart"

Pattern

Then(/^the page type should( not)? be "([^"]*)"$/, …)

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