Then the order history should have 2 entries

Assert how many lines the status history of the order has.

Examples

Then the order history should have 2 entries
Then the order history should have 1 entry
And the order history should have 3 entries
Then the order history should have 4 entries
Then the order history should have 1 entries

Pattern

Then(/^the order history should have (\d+) entr(?:y|ies)$/, …)

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