Assert the title found by an earlier "on a page", "on a post" or "on a category archive" step is in a heading of the page. The headings are the level-one heading and the theme's title elements, so a title that only appears in a "more posts" list does not count.
Examples
Then I should see the post title
And we should see the page title
Then should see the content title
Then I should not see the post title
But we should not see the content title
Pattern
Then(/^(I |we )*should( not)* see the (?:post|page|content) title$/, …)
Part of @webship-js/woocommerce-steps (github.com/webship/woocommerce-steps), a step pack for Webship-js 2.0.x.