A panel is expanded (its content shown, shown come and its transition over) or collapsed (hidden, hidden come and its transition over).
Examples
Then the "Shipping" panel should be expanded
Then the "Returns" panel should be collapsed
Then the "More details" panel should be expanded
Then the "Language" panel should be collapsed
Then the "Payment" panel should be collapsed
Pattern
Then(/^the "([^"]*)" panel should be (expanded|collapsed)$/, …)
Part of @webship-js/uikit-steps (github.com/webship/uikit-steps), a step pack for Webship-js 2.0.x.