When I pass the spam protection of the form

Pass the spam protection of the form on screen, the way a visitor does: tick the "I'm not a robot" box of the ALTCHA widget and wait until it reports "verified". The browser solves a proof of work against the site; no outside service is called. It needs the HTTPS address of the site, because browsers offer the Web Crypto API only in a secure context. The step then waits out the minimum time Honeypot wants between the page load and the submission (5 seconds on Drupal CMS; worldParameters.formTimeLimit in seconds for another value, 0 for a site without Honeypot's time limit). A form without the widget only gets the time limit.

Examples

When I pass the spam protection of the form
And I pass the spam protection of the form
When we pass the spam protection of the form
And we pass the spam protection of the form
Given I pass the spam protection of the form

Pattern

When(/^(I |we )*pass the spam protection of the form$/, …)

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