When I choose "Bags" in the "Categories" form field

Choose an entry in a searchable tree field of an admin form (the "Categories" field of a product): open it, type the name, tick the entry, press Done.

Examples

When I choose "Bags" in the "Categories" form field
When I choose "Gear" in the "Categories" form field
And I choose "Watches" in the "Categories" form field
When we choose "Tops" in the "Categories" form field
When choose "Sale" in the "Categories" form field

Pattern

When(/^(I |we )*choose "([^"]*)" in the "([^"]*)" form field$/, …)

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