Then the cart should have the coupon "suite10"

Assert the cart has (or has not) a coupon, by its code (letter case aside: the store keeps codes in lower case).

Examples

Then the cart should have the coupon "suite10"
And the cart should have the coupon "SUITE10"
Then the cart should not have the coupon "suite10"
Then the cart should have the coupon "suite5"
But the cart should not have the coupon "no-such-coupon"

Pattern

Then(/^the cart should( not)* have the coupon "([^"]*)"$/, …)

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