Then the product should be in the category "Men"

Assert that the product page lists, or does not list, a category among the categories of the product (Description tab).

Examples

Then the product should be in the category "Men"
Then the product should not be in the category "Art"
And the product should be in the category "Home Accessories"
Then the product should be in the category "Home"
Then the product should not be in the category "Women"

Pattern

Then(/^the product should( not)* be in the category "([^"]*)"$/, …)

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