Assert the order history of the customer lists (or does not list) the last placed order, optionally with a status.
Examples
Then my order history should list the last placed order
Then my order history should list the last placed order as "Pending"
And my order history should not list the last placed order
Then our order history should list the last placed order as "Complete"
Then my order history should list the last placed order as "Canceled"
Pattern
Then(/^(?:my|our) order history should( not)* list the last placed order(?: as "([^"]*)")?$/, …)
Part of @webship-js/magento-steps (github.com/webship/magento-steps), a step pack for Webship-js 2.0.x.