From d4e1c6e058b4dc84543ce09cc193d5815a31d782 Mon Sep 17 00:00:00 2001 From: Roland Date: Fri, 29 Sep 2023 16:35:19 +0200 Subject: [PATCH] Use alle akzeptieren in cookie command --- package.json | 2 +- src/commands/tt-cookie-all-accept.js | 2 +- src/commands/tt-cookie-all-accept.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 2b4849d..df28d3e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cypress-ncatestify-plugin", - "version": "2.0.33", + "version": "2.0.34", "description": "NCA TESTIFY commands and tests", "main": "src", "types": "src", diff --git a/src/commands/tt-cookie-all-accept.js b/src/commands/tt-cookie-all-accept.js index 35ca9c7..34665a9 100644 --- a/src/commands/tt-cookie-all-accept.js +++ b/src/commands/tt-cookie-all-accept.js @@ -1,4 +1,4 @@ -export const ttCookieAllAcceptClick = (cookieButtonString = 'alle cookies') => { +export const ttCookieAllAcceptClick = (cookieButtonString = 'alle akzeptieren') => { cy.log('ttCookieAllAcceptClick - NCA TESTIFY'); return cy.contains(cookieButtonString, { matchCase: false }).click(); }; diff --git a/src/commands/tt-cookie-all-accept.ts b/src/commands/tt-cookie-all-accept.ts index 5712188..1600515 100644 --- a/src/commands/tt-cookie-all-accept.ts +++ b/src/commands/tt-cookie-all-accept.ts @@ -1,5 +1,5 @@ export const ttCookieAllAcceptClick = ( - cookieButtonString: string = 'alle cookies', + cookieButtonString: string = 'alle akzeptieren', ) => { cy.log('ttCookieAllAcceptClick - NCA TESTIFY') return cy.contains(cookieButtonString, { matchCase: false }).click()