Then the cart should have the voucher "Webship ten percent"

Assert that the cart lists, or does not list, an applied voucher by the name of its cart rule.

Examples

Then the cart should have the voucher "Webship ten percent"
Then the cart should not have the voucher "Webship ten percent"
And the cart should have the voucher "Summer sale"
Then the cart should not have the voucher "Summer sale"
But the cart should not have the voucher "Webship ten percent"

Pattern

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

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