Assert the page does (or does not) carry a HubSpot form: a legacy form.hs-form or a form of the new editor, in the page or in an iframe.
Examples
Then the page should have a form
And the page should have a form
Then this page should have a form
But the page should not have a form
Then page should not have a form
Pattern
Then(/^(?:the |this )?page should( not)* have a form$/, …)
Part of @webship-js/hubspot-cms-steps (github.com/webship/hubspot-cms-steps), a step pack for Webship-js 2.0.x.