Then the page tree should show "Breads"

Assert that the page tree of the sidebar shows a page at the level it is on, or does not.

Examples

Then the page tree should show "Breads"
Then the page tree should show "Anadama"
And the page tree should not show "Webship test page"
Then the page tree should show "Blog"
And the page tree should show "Contact Us"

Pattern

Then(/^the page tree should( not)* show "([^"]*)"$/, …)

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