When I open the cookie preferences

Opens the cookie preferences: the banner's "Manage preferences" button, or the store's "Cookie preferences" link when the banner is gone (the platform's privacy banner can also open them by itself). Waits until the preferences are shown.

Examples

When I open the cookie preferences
And I open the cookie preferences
When we open the cookie preferences
When open the cookie preferences
Then I open the cookie preferences

Pattern

When(/^(?:I |we )?open the cookie preferences$/, …)

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