Given my cart is empty

Empty the cart of the session: every line is removed. For a logged-in customer, whose cart is kept between visits, it is the clean start of a scenario.

Examples

Given my cart is empty
And my cart is empty
Given our cart is empty
And our cart is empty
Given my cart is empty now

Pattern

Given(/^(?:my|our) cart is empty(?: now)?$/, …)

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