Assert that a group of the sidebar is collapsed (its items hidden) or expanded.
Examples
Then the "Shop" group of the sidebar should be collapsed
Then the "Shop" group of the sidebar should be expanded
And the "HR" group of the sidebar should be expanded
Then the "Blog" group of the sidebar should be collapsed
And the "Projects" group of the sidebar should be expanded
Pattern
Then(/^the "([^"]*)" group of the sidebar should be (collapsed|expanded)$/, …)
Part of @webship-js/filament-steps (github.com/webship/filament-steps), a step pack for Webship-js 2.0.x.