UNPKG

graphdb-workbench-tests

Version:
22 lines (17 loc) 524 B
export class CookieConsentBannerSteps { static getCookieConsentBanner() { return cy.get('.cookie-consent-banner'); } static getCookieConsentButton() { return this.getCookieConsentBanner().find('button'); } static giveCookieConsent() { return this.getCookieConsentButton().click(); } static getCookiePolicyLink() { return cy.get('.cookie-consent-content a'); } static clickCookiePolicyLink() { return this.getCookiePolicyLink().click(); } }