Assert the cookie consent dialog (Klaro) is, or is not, shown on the page. The suite accepts the consent before every scenario by default; set worldParameters.acceptCookieConsent to false (KEEP_COOKIE_CONSENT=1) to see the dialog and test it.
Examples
Then I should see the cookie consent dialog
And I should see the cookie consent dialog
Then I should not see the cookie consent dialog
And we should not see the cookie consent dialog
Then I should see the cookie consent banner
Pattern
Then(/^(I |we )*should( not)* see the cookie consent (?:dialog|banner|notice)$/, …)
Part of @webship-js/drupal-cms-steps (github.com/webship/drupal-cms-steps), a step pack for Webship-js 2.0.x.