When I collapse all rows of "Layout"

Collapse every row of a blocks or array field ("Collapse All"), or expand them all ("Show All").

Examples

When I collapse all rows of "Layout"
When I expand all rows of "Layout"
And I collapse all rows of "Nav Items"
When I expand all rows of "Nav Items"
When I collapse all rows of "Columns"

Pattern

When(/^I (collapse|expand) all rows of "([^"]*)"$/, …)

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