When I choose "New subpage" from the context menu of the "Congratulations > 404" page

Choose an action from the context menu of a page in the page tree: the step right-clicks the page and clicks the menu item with the given label ("New subpage", "Edit", "Enable", "Disable", "Delete", "Show", "Info", "Copy", "Cut", "History/Undo", "Clear cache for this page"). An action that asks for confirmation ("Delete") opens a dialog.

Examples

When I choose "New subpage" from the context menu of the "Congratulations > 404" page
When I choose "Enable" from the context menu of the "Congratulations > 404 > Draft" page
When we choose "Disable" from the context menu of the "Draft" page
And I choose "Delete" from the context menu of the "Draft" page
When choose "Edit" from the context menu of the "Congratulations > Features" page

Pattern

When(/^(I |we )*choose "([^"]*)?" from the context menu of the "([^"]*)?" page$/, …)

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