Then the result count should be "Showing 1–16 of 17 results"

Assert the result count the store prints above the product list ("Showing 1–16 of 17 results"). A hyphen and the dash the store prints are the same.

Examples

Then the result count should be "Showing 1–16 of 17 results"
And the result count should be "Showing all 3 results"
Then the result count should be "Showing 17–17 of 17 results"
Then the result count should be "Showing the single result"
And the result count should be "Showing 1-16 of 17 results"

Pattern

Then(/^the result count should be "([^"]*)"$/, …)

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