Then the page "Home" should be the home page in the page tree

Assert a page is (or is not) the home page of the site, as the page tree marks it.

Examples

Then the page "Home" should be the home page in the page tree
Then the page "About" should not be the home page in the page tree
And the page "Start" should be the home page in the CMS page tree
Then the page "Contact" should not be the home page in the page tree
But the page "Team" should not be the home page in the page tree

Pattern

Then(/^the page "([^"]*)" should( not)* be the home ?page in the (?:(?:django )?CMS )?page tree$/, …)

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