When I tick the form checkbox "I agree to receive other communications"

Tick (check) or untick (uncheck) a checkbox of the HubSpot form, found by its internal name or its label, such as the consent to communications.

Examples

When I tick the form checkbox "I agree to receive other communications"
And I tick the form checkbox "LEGAL_CONSENT.subscription_type_1"
When we untick the form checkbox "I agree to receive other communications"
And check the form checkbox "I agree to the privacy policy"
When I uncheck the form checkbox "I agree to the privacy policy"

Pattern

When(/^(I |we )*(tick|untick|check|uncheck) the form checkbox "([^"]*)"$/, …)

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