When I accept the cookie consent

Accept, or decline, the cookie consent dialog through its own buttons, which stores the choice the way a visitor's click would.

Examples

When I accept the cookie consent
And I accept the cookie consent
When I decline the cookie consent
And we decline the cookie consent
When I accept all cookies

Pattern

When(/^(I |we )*(accept|decline) (?:the cookie consent|all cookies)$/, …)

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