Open or close the Webflow cart with its open or close link, and wait until the cart is shown or hidden. The step does nothing when the cart is already in the state asked for.
Examples
When I open the cart
When I close the cart
When we open the cart
And I open the cart
And we close the cart
Pattern
When(/^(I |we )*(open|close) the cart$/, …)
Part of @webship-js/webflow-steps (github.com/webship/webflow-steps), a step pack for Webship-js 2.0.x.