Then the HubSpot cookie banner should be visible

Assert the HubSpot cookie banner is (or is not) visible. The negative form passes when the banner was dismissed or is absent.

Examples

Then the HubSpot cookie banner should be visible
Then the HubSpot cookie banner should not be visible
And the cookie banner should be visible
But the cookie banner should not be visible
Then I should see the HubSpot cookie banner

Pattern

Then(/^(?:(?:the )?(?:HubSpot )?cookie banner should( not)* be visible|(?:I |we )*should( not)* see the (?:HubSpot )?cookie banner)$/, …)

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