From ace09889fe51661da0decb6c4eef6c2cae49e869 Mon Sep 17 00:00:00 2001 From: pablobarrososso Date: Wed, 25 Sep 2024 10:17:02 -0400 Subject: [PATCH] commit --- package-lock.json | 18 +++++++++--------- package.json | 2 +- pages/dataConnectors.js | 7 +++---- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index a6ae4c2..560ecce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.229", "license": "AGPL-3.0", "dependencies": { - "@processmaker/cypress-utils": "^1.0.228" + "@processmaker/cypress-utils": "^1.0.229" }, "devDependencies": { "@4tw/cypress-drag-drop": "^2.2.5", @@ -91,11 +91,11 @@ } }, "node_modules/@processmaker/cypress-utils": { - "version": "1.0.228", - "resolved": "https://registry.npmjs.org/@processmaker/cypress-utils/-/cypress-utils-1.0.228.tgz", - "integrity": "sha512-5wVSw8zQJi0c5HZ4g60CDsBB4dYClyebJBONLYl3UlKibCExUaXHFTP9+MlFD2zKbRr7GPTAw+H8itHY8sKEPQ==", + "version": "1.0.229", + "resolved": "https://registry.npmjs.org/@processmaker/cypress-utils/-/cypress-utils-1.0.229.tgz", + "integrity": "sha512-LftkHgkEVm3YD5pXrJ00iAhLpqo0GuJfeyldylnvGQZ5f9bnc4zaJgoTQZ5EnsN3K5cRUQguBobh98O28NQ7lA==", "dependencies": { - "@processmaker/cypress-utils": "^1.0.225" + "@processmaker/cypress-utils": "^1.0.228" } }, "node_modules/@types/node": { @@ -2344,11 +2344,11 @@ } }, "@processmaker/cypress-utils": { - "version": "1.0.228", - "resolved": "https://registry.npmjs.org/@processmaker/cypress-utils/-/cypress-utils-1.0.228.tgz", - "integrity": "sha512-5wVSw8zQJi0c5HZ4g60CDsBB4dYClyebJBONLYl3UlKibCExUaXHFTP9+MlFD2zKbRr7GPTAw+H8itHY8sKEPQ==", + "version": "1.0.229", + "resolved": "https://registry.npmjs.org/@processmaker/cypress-utils/-/cypress-utils-1.0.229.tgz", + "integrity": "sha512-LftkHgkEVm3YD5pXrJ00iAhLpqo0GuJfeyldylnvGQZ5f9bnc4zaJgoTQZ5EnsN3K5cRUQguBobh98O28NQ7lA==", "requires": { - "@processmaker/cypress-utils": "^1.0.225" + "@processmaker/cypress-utils": "^1.0.228" } }, "@types/node": { diff --git a/package.json b/package.json index ac64697..686f614 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,6 @@ "date-fns": "^3.6.0" }, "dependencies": { - "@processmaker/cypress-utils": "^1.0.228" + "@processmaker/cypress-utils": "^1.0.229" } } diff --git a/pages/dataConnectors.js b/pages/dataConnectors.js index 0197d80..854236f 100644 --- a/pages/dataConnectors.js +++ b/pages/dataConnectors.js @@ -99,10 +99,9 @@ export class Dataconnectors { .should('have.value', name); cy.xpath(selectors.dataSourceIndexLoading).should('be.visible'); cy.wait(2000); - cy.xpath(selectors.firstRowDataConnector, { timeout: 10000 }) - .find('td') - .then(($loadedTable) => { - if ($loadedTable.length === 1) { + cy.xpath(selectors.dataSourceIndexLoading, { timeout: 10000 }) + .then(($message) => { + if ($message.length === 1) { this.createADataConnector(name, description, type); cy.xpath(selectors.resourcesTitle).should('be.visible'); cy.xpath(selectors.resourcesTitle).click();