Then the product should be online

Assert whether the product page shows the product as online or offline.

Examples

Then the product should be online
Then the product should be offline
And the product should be online
But the product should be offline
Then the product should be online

Pattern

Then(/^the product should be (online|offline)$/, …)

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