Then the checkout form should have the "customer information" section

Assert the checkout form has, or does not have, one of its sections: customer information, shipping address, shipping methods, payment or order summary. A section the designer removed, or a digital product that needs no shipping, is not on the page.

Examples

Then the checkout form should have the "customer information" section
Then the checkout form should have the "payment" section
And the checkout form should have the "order summary" section
Then the checkout form should not have the "shipping methods" section
And the checkout form should have the "shipping address" section

Pattern

Then(/^the checkout form should( not)* have the "(customer information|shipping address|shipping methods|payment|order summary)" section$/, …)

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