Presses the dynamic checkout button of the product form, which leaves the store for the checkout. Waits until the page has changed.
Examples
When I press the dynamic checkout button
And I press the dynamic checkout button
When we press the dynamic checkout button
When press the dynamic checkout button
Then I press the dynamic checkout button
Pattern
When(/^(?:I |we )?press the dynamic checkout button$/, …)
Part of @webship-js/shopify-steps (github.com/webship/shopify-steps), a step pack for Webship-js 2.0.x.