Change the status of the order on its screen in the administration, by the label of the status ("Completed", "Processing", "On hold", "Cancelled"), and save it with "Update"; the step waits for the screen's "Order updated."
Examples
When I change the order status to "Completed"
When we change the order status to "Processing"
And I change the order status to "Cancelled"
When I change the order status to "On hold"
And we change the order status to "Completed"
Pattern
When(/^(I |we )*change the order status to "([^"]*)"$/, …)
Part of @webship-js/woocommerce-steps (github.com/webship/woocommerce-steps), a step pack for Webship-js 2.0.x.