Assert whether the product of the page is on sale: the store's sale badge ("Sale!") next to the product.
Examples
Then the product should be on sale
And the product should be on sale
Then the product should not be on sale
But the product should not be on sale
Then the product should be on sale
Pattern
Then(/^the product should( not)* be on sale$/, …)
Part of @webship-js/woocommerce-steps (github.com/webship/woocommerce-steps), a step pack for Webship-js 2.0.x.