Then I should see the add to cart error

Assert the add to cart error message is, or is not, shown: Webflow shows .w-commerce-commerceaddtocarterror when a product cannot be added (an option is not chosen, or the quantity is not available).

Examples

Then I should see the add to cart error
Then I should not see the add to cart error
And we should see the add to cart error
Then we should not see the add to cart error
And I should not see the add to cart error

Pattern

Then(/^(I |we )*should( not)* see the add to cart error$/, …)

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