Then the product list should have 16 products

Assert how many products the product list of the page shows (on this page of the list).

Examples

Then the product list should have 16 products
And the product list should have 1 product
Then the product list should have 5 products
Then the product list should have 0 products
And the product list should have 3 products

Pattern

Then(/^the product list should have (\d+) products?$/, …)

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