Assert the cookie banner is (or is not) visible.
Examples
Then the cookie banner should be visible
And the cookie banner should be visible
Then the cookie banner should not be visible
But the cookie banner should not be visible
Then cookie banner should be visible
Pattern
Then(/^(?:the )?cookie banner should( not)* be visible$/, …)
Part of @webship-js/squarespace-steps (github.com/webship/squarespace-steps), a step pack for Webship-js 2.0.x.