Assert a product is (or is not) in the cart, on the cart page or in the checkout's order summary, by the name the cart shows.
Examples
Then the cart should contain "Hoodie"
And the cart should contain "Beanie"
Then the cart should not contain "Cap"
Then the cart should contain "V-Neck T-Shirt"
But the cart should not contain "Beanie"
Pattern
Then(/^the cart should( not)* contain "([^"]*)"$/, …)
Part of @webship-js/woocommerce-steps (github.com/webship/woocommerce-steps), a step pack for Webship-js 2.0.x.