From 77b5b410cb569d6714f1acd824832e36bf12a6e7 Mon Sep 17 00:00:00 2001 From: pablobarrososso Date: Wed, 25 Sep 2024 12:06:52 -0400 Subject: [PATCH] correctionAccessLog --- package-lock.json | 18 +++++++++--------- package.json | 2 +- pages/userActivityLogging.js | 3 ++- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5e5fba9..123edf3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.231", "license": "AGPL-3.0", "dependencies": { - "@processmaker/cypress-utils": "^1.0.230" + "@processmaker/cypress-utils": "^1.0.231" }, "devDependencies": { "@4tw/cypress-drag-drop": "^2.2.5", @@ -91,11 +91,11 @@ } }, "node_modules/@processmaker/cypress-utils": { - "version": "1.0.230", - "resolved": "https://registry.npmjs.org/@processmaker/cypress-utils/-/cypress-utils-1.0.230.tgz", - "integrity": "sha512-nf+Ri8WfhP5zYCEddc2uS4g6jxKj1MsiJRuQlYoDeohMeZGBSbKcw+jSzzMNogabRlAtMBr9UAg0ueEj+ruPqA==", + "version": "1.0.231", + "resolved": "https://registry.npmjs.org/@processmaker/cypress-utils/-/cypress-utils-1.0.231.tgz", + "integrity": "sha512-ISKFssqp8yAfAiZFqqXoys7pIn5Jt3e0tiYv/TXC//tqLI5cnBNCe0QTOyYXFCWYC+lf0YCTYkrzmv7FQnGzTw==", "dependencies": { - "@processmaker/cypress-utils": "^1.0.229" + "@processmaker/cypress-utils": "^1.0.230" } }, "node_modules/@types/node": { @@ -2344,11 +2344,11 @@ } }, "@processmaker/cypress-utils": { - "version": "1.0.230", - "resolved": "https://registry.npmjs.org/@processmaker/cypress-utils/-/cypress-utils-1.0.230.tgz", - "integrity": "sha512-nf+Ri8WfhP5zYCEddc2uS4g6jxKj1MsiJRuQlYoDeohMeZGBSbKcw+jSzzMNogabRlAtMBr9UAg0ueEj+ruPqA==", + "version": "1.0.231", + "resolved": "https://registry.npmjs.org/@processmaker/cypress-utils/-/cypress-utils-1.0.231.tgz", + "integrity": "sha512-ISKFssqp8yAfAiZFqqXoys7pIn5Jt3e0tiYv/TXC//tqLI5cnBNCe0QTOyYXFCWYC+lf0YCTYkrzmv7FQnGzTw==", "requires": { - "@processmaker/cypress-utils": "^1.0.229" + "@processmaker/cypress-utils": "^1.0.230" } }, "@types/node": { diff --git a/package.json b/package.json index fd8081e..409f773 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,6 @@ "date-fns": "^3.6.0" }, "dependencies": { - "@processmaker/cypress-utils": "^1.0.230" + "@processmaker/cypress-utils": "^1.0.231" } } diff --git a/pages/userActivityLogging.js b/pages/userActivityLogging.js index da7bbc3..53dd106 100644 --- a/pages/userActivityLogging.js +++ b/pages/userActivityLogging.js @@ -35,7 +35,8 @@ export class userActivityLogging{ accessToSpecificSecurityLog(log){ const xpath = selectors.securityLog.replace('log', log); cy.xpath(xpath).should('be.visible'); - cy.xpath((selectors.securityLog.replace('log', log))[1]).click(); + cy.xpath((selectors.securityLog.replace('log', log))).should('be.visible'); + cy.xpath((selectors.securityLog.replace('log', log))).click({force:true}); } /**