Then the "pages" tree should show "Announcements"

Whether a tree shows an item (an item inside a collapsed one is not shown).

Examples

Then the "pages" tree should show "Announcements"
And the tree should not show "Announcements"
Then the "pages" tree should show "Home"
And the "pages" tree should not show "Announcements"
Then the tree should show "Pricing"

Pattern

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

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