Then the cart subtotal should be "$34.00"

Assert a total of the cart page: "subtotal", "shipping", "discount", "tax" or "order total".

Examples

Then the cart subtotal should be "$34.00"
Then the cart order total should be "$39.00"
And the cart shipping should be "$5.00"
Then the cart discount should be "-$3.40"
Then the cart order total should be "$30.60"

Pattern

Then(/^the cart (subtotal|shipping|discount|tax|order total) should be "([^"]*)"$/, …)

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