Then the product list should announce "There are 11 products."

Assert the sentence above the product list that counts the products found, for example "There are 11 products." The text may be a part of it.

Examples

Then the product list should announce "There are 11 products."
Then the product list should announce "There are 3 products."
Then the product list should announce "There is 1 product."
And the product list should announce "There are 19 products."
Then the product list should announce "5 products"

Pattern

Then(/^the product list should announce "([^"]*)"$/, …)

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