Create the invoice, the shipment or the offline credit memo of the open order with the default values of its form, and wait for the success message ("The invoice has been created.", "The shipment has been created.", "You created the credit memo.").
Examples
When I invoice the order
When I ship the order
When I refund the order
And we invoice the order
When we ship the order
Pattern
When(/^(I |we )*(invoice|ship|refund) the order$/, …)
Part of @webship-js/magento-steps (github.com/webship/magento-steps), a step pack for Webship-js 2.0.x.