Choose a shipping method of the checkout, by the start of its label (the label carries its cost: "Flat rate $5.00").
Examples
When I choose the "Flat rate" shipping method
When we choose the "Flat rate" shipping method
And I choose the "Flat rate $5.00" shipping method
When I choose the "Free shipping" shipping method
And we choose the "Local pickup" shipping method
Pattern
When(/^(I |we )*choose the "([^"]*)" shipping method$/, …)
Part of @webship-js/woocommerce-steps (github.com/webship/woocommerce-steps), a step pack for Webship-js 2.0.x.