Assert a Webflow form is, or is not, protected against spam by a challenge: a Cloudflare Turnstile site key on the form (data-turnstile-sitekey, the default for new Webflow forms) or a reCAPTCHA element (.w-form-formrecaptcha).
Examples
Then the webflow form should be protected by a challenge
Then the form should be protected by a challenge
And the webflow form should not be protected by a challenge
Then the "Contact Form" form should be protected by a challenge
And the "Newsletter" form should not be protected by a challenge
Pattern
Then(/^the (?:"([^"]*)" )?(?:webflow )?form should( not)* be protected by a challenge$/, …)
Part of @webship-js/webflow-steps (github.com/webship/webflow-steps), a step pack for Webship-js 2.0.x.