Then the cart total should contain "19"

Assert the total of the Webflow cart (.w-commerce-commercecartordervalue) contains a text, such as the amount.

Examples

Then the cart total should contain "19"
Then the cart total should contain "$49.00"
And the cart total should contain "EUR"
Then the cart total should contain "38"
And the cart total should contain "0"

Pattern

Then(/^the cart total should contain "([^"]*)"$/, …)

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