When I search the page tree for "Rich Text"

Filter the page tree with its search field (#typo3-pagetree-toolbar input[type="search"]), or clear the filter with an empty text. The tree then shows the matching pages with the pages above them.

Examples

When I search the page tree for "Rich Text"
When I search the page tree for "Accordion"
When we search the page tree for "Features"
And I search the page tree for ""
When search the page tree for "Quote"

Pattern

When(/^(I |we )*search the page tree for "([^"]*)?"$/, …)

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