Then the "Blog" item of the "pages" tree should be expanded

An item of a tree is expanded or collapsed.

Examples

Then the "Blog" item of the "pages" tree should be expanded
And the "Store" item of the tree should be collapsed
Then the "Website" item of the "pages" tree should be expanded
And the "Blog" item of the tree should be collapsed
Then the "Store" item of the "pages" tree should be expanded

Pattern

Then(/^the "([^"]*)" item of the (?:"([^"]*)" )?tree should be (expanded|collapsed)$/, …)

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