When I place the order

Press "Place Order" in the payment step and wait for the success page. The order number of that page is remembered for the rest of the scenario as "the last placed order".

Examples

When I place the order
And I place the order
When we place the order
When place the order
And we place the order

Pattern

When(/^(I |we )*place the order$/, …)

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