Delete for good every order of an email address (the billing email the checkout took): the orders list searched for it, the rows moved to the trash, then deleted from the trash. A run of the suite cleans up the orders of its test addresses with it.
Examples
When I delete the orders of "must-fail@example.com"
When we delete the orders of "guest@example.com"
And I delete the orders of "must-fail@example.com"
When I delete the orders of "gina.guest@example.com"
And we delete the orders of "guest@example.com"
Pattern
When(/^(I |we )*delete the orders of "([^"]*)"$/, …)
Part of @webship-js/woocommerce-steps (github.com/webship/woocommerce-steps), a step pack for Webship-js 2.0.x.