diff --git a/package-lock.json b/package-lock.json index bcc3690..8faf54c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.230", "license": "AGPL-3.0", "dependencies": { - "@processmaker/cypress-utils": "^1.0.229" + "@processmaker/cypress-utils": "^1.0.230" }, "devDependencies": { "@4tw/cypress-drag-drop": "^2.2.5", @@ -91,11 +91,11 @@ } }, "node_modules/@processmaker/cypress-utils": { - "version": "1.0.229", - "resolved": "https://registry.npmjs.org/@processmaker/cypress-utils/-/cypress-utils-1.0.229.tgz", - "integrity": "sha512-LftkHgkEVm3YD5pXrJ00iAhLpqo0GuJfeyldylnvGQZ5f9bnc4zaJgoTQZ5EnsN3K5cRUQguBobh98O28NQ7lA==", + "version": "1.0.230", + "resolved": "https://registry.npmjs.org/@processmaker/cypress-utils/-/cypress-utils-1.0.230.tgz", + "integrity": "sha512-nf+Ri8WfhP5zYCEddc2uS4g6jxKj1MsiJRuQlYoDeohMeZGBSbKcw+jSzzMNogabRlAtMBr9UAg0ueEj+ruPqA==", "dependencies": { - "@processmaker/cypress-utils": "^1.0.228" + "@processmaker/cypress-utils": "^1.0.229" } }, "node_modules/@types/node": { @@ -2344,11 +2344,11 @@ } }, "@processmaker/cypress-utils": { - "version": "1.0.229", - "resolved": "https://registry.npmjs.org/@processmaker/cypress-utils/-/cypress-utils-1.0.229.tgz", - "integrity": "sha512-LftkHgkEVm3YD5pXrJ00iAhLpqo0GuJfeyldylnvGQZ5f9bnc4zaJgoTQZ5EnsN3K5cRUQguBobh98O28NQ7lA==", + "version": "1.0.230", + "resolved": "https://registry.npmjs.org/@processmaker/cypress-utils/-/cypress-utils-1.0.230.tgz", + "integrity": "sha512-nf+Ri8WfhP5zYCEddc2uS4g6jxKj1MsiJRuQlYoDeohMeZGBSbKcw+jSzzMNogabRlAtMBr9UAg0ueEj+ruPqA==", "requires": { - "@processmaker/cypress-utils": "^1.0.228" + "@processmaker/cypress-utils": "^1.0.229" } }, "@types/node": { diff --git a/package.json b/package.json index d0008c1..e944e9a 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,6 @@ "date-fns": "^3.6.0" }, "dependencies": { - "@processmaker/cypress-utils": "^1.0.229" + "@processmaker/cypress-utils": "^1.0.230" } } diff --git a/pages/userActivityLogging.js b/pages/userActivityLogging.js index be2901c..da7bbc3 100644 --- a/pages/userActivityLogging.js +++ b/pages/userActivityLogging.js @@ -35,7 +35,7 @@ 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)).click(); + cy.xpath((selectors.securityLog.replace('log', log))[1]).click(); } /** diff --git a/pages/userActivityLoggingExecution.js b/pages/userActivityLoggingExecution.js index c3c84d8..4e29831 100644 --- a/pages/userActivityLoggingExecution.js +++ b/pages/userActivityLoggingExecution.js @@ -141,9 +141,10 @@ export class userActivityLoggingExecution{ userActivity.checkLabelsSecurityLogsLabels(["Name:", "Deleted At:"]); userActivity.checkLabelsSecurityLogsSpan([newGroupname]); } + securityLogsDataConnectorResourceActionCheck(name){ userActivity.accessToSecurityLogs(); - userActivity.searchByEvent("ConnectorResourceAction"); + userActivity.searchByEvent("DataConnectorResourceAction"); userActivity.accessToSpecificSecurityLog('DataConnectorResourceAction'); userActivity.checkLabelsSecurityLogsLabels(["Name:","Created At:","Description:", "Action:", "Method:", "DataConnector:"]); userActivity.checkLabelsSecurityLogsSpan(["test QA", "Resource Created", "GET", name]); @@ -154,11 +155,10 @@ export class userActivityLoggingExecution{ securityLogsDataConnectorVerifyResource(resourceName, labels, span) { userActivity.accessToSecurityLogs(); - userActivity.searchByEvent("ConnectorResourceAction"); + userActivity.searchByEvent("DataConnectorResourceAction"); userActivity.accessToSpecificSecurityLog(resourceName); userActivity.checkLabelsSecurityLogsLabels(labels); userActivity.checkLabelsSecurityLogsSpan(span); - // userActivity.checkLabelsSecurityLogsHref(["list"]); } securityLogsDataCustomizeUiUpdated() {