Then the cart dialog should show "Hummingbird printed t-shirt"

Assert that the dialog shown after "Add to cart" contains a text: the name of the product, an option ("Size: M"), the quantity ("Quantity: 2") or the count ("There are 2 items in your cart.").

Examples

Then the cart dialog should show "Hummingbird printed t-shirt"
Then the cart dialog should show "Size: M"
Then the cart dialog should show "Quantity: 2"
And the cart dialog should show "There are 2 items in your cart."
Then the cart dialog should show "Added to your cart"

Pattern

Then(/^the cart dialog should show "([^"]*)"$/, …)

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