Given there is no "Congratulations > 404 > Webship test page" page

Make sure a page does not exist before a scenario creates it: while the page tree shows a page at the path, delete it through its context menu and confirm. Does nothing when there is no such page, so a scenario that was interrupted can run again. The page tree must be shown.

Examples

Given there is no "Congratulations > 404 > Webship test page" page
Given there is no "Congratulations > News" page
And there is no "Congratulations > 404 > Draft" page
Given there is no "Congratulations > Pages > Temporary" page
And there is no "Congratulations > Checkout" page

Pattern

Given(/^there is no "([^"]*)?" page$/, …)

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