Expand a Bootstrap accordion panel (.accordion-item) by clicking its header button (.accordion-button) matching the given label. The button toggles the associated .accordion-collapse, revealing its body.
Examples
When I open the "Media Left" accordion panel
When I open the "Media Right" accordion panel
When we open the "Media Top" accordion panel
And I open the "No Media" accordion panel
When open the "Media Bottom" accordion panel
Pattern
When(/^(I |we )*open the "([^"]*)?" accordion panel$/, …)
Part of @webship-js/typo3-steps (github.com/webship/typo3-steps), a step pack for Webship-js 2.0.x.