Then the products list should include "Suite Mug"

Assert the products list or the coupons list of the administration includes, or does not include, an entry by its name (a coupon by its code); the list is searched for it, as a person does with a long list.

Examples

Then the products list should include "Suite Mug"
And the coupons list should include "suite10"
Then the products list should not include "Suite Mug"
Then the coupons list should not include "suite10"
And the products list should include "Beanie"

Pattern

Then(/^the (product|coupon)s list should( not)* include "([^"]*)"$/, …)

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