Assert the quantity in stock the product page shows (Stocks tab, "Edit quantity"), as saved.
Examples
Then the product stock should be 305
Then the product stock should be 300
And the product stock should be 0
Then the product stock should be 5
Then the product stock should be 1200
Pattern
Then(/^the product stock should be (-?\d+)$/, …)
Part of @webship-js/prestashop-steps (github.com/webship/prestashop-steps), a step pack for Webship-js 2.0.x.