When I add 5 items to the product stock

Add items to, or remove items from, the stock of the product (Stocks tab). The product page has no quantity field: the quantity is changed by a difference ("Add or subtract items") and each change is logged as a stock movement when the product is saved.

Examples

When I add 5 items to the product stock
When I remove 5 items from the product stock
When we add 100 items to the product stock
And I add 1 item to the product stock
When I remove 1 item from the product stock

Pattern

When(/^(I |we )*(add|remove) (\d+) items? (?:to|from) the product stock$/, …)

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