Assert that a page (by its title, or the home page) offers a type for its child pages (on "Create a page in …"), or does not.
Examples
Then the home page should offer the page type "Standard page"
Then "Breads" should not offer the page type "Blog page"
And "Blog" should offer the page type "Blog page"
Then "Recipes" should offer the page type "Recipe page"
And "Breads" should offer the page type "Bread page"
Pattern
Then(/^(?:"([^"]*)"|the home page) should( not)* offer the page type "([^"]*)"$/, …)
Part of @webship-js/wagtail-steps (github.com/webship/wagtail-steps), a step pack for Webship-js 2.0.x.