When I accept the cookies

Accepts or declines the cookies with the banner's own button, and waits until the banner is gone and the store has recorded the choice.

Examples

When I accept the cookies
When I decline the cookies
And I accept the cookies
When we decline the cookies
When accept the cookies

Pattern

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

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