From ccbbd8b65d0a1f63cbcb481e0b692000336c56d1 Mon Sep 17 00:00:00 2001 From: Vivek Ratnavel Subramanian Date: Thu, 12 May 2022 12:07:09 -0700 Subject: [PATCH] Cypress: Increase Snowflake test connection timeout (#4915) --- openmetadata-ui/src/main/resources/ui/cypress/common/common.js | 1 + .../ui/cypress/integration/AddNewService/snowflake.spec.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/openmetadata-ui/src/main/resources/ui/cypress/common/common.js b/openmetadata-ui/src/main/resources/ui/cypress/common/common.js index ec8f8c63de1..7085d7f1747 100644 --- a/openmetadata-ui/src/main/resources/ui/cypress/common/common.js +++ b/openmetadata-ui/src/main/resources/ui/cypress/common/common.js @@ -39,6 +39,7 @@ export const testServiceCreationAndIngestion = ( connectionInput(); + // Test the connection cy.get('[data-testid="test-connection-btn"]').should('exist'); cy.get('[data-testid="test-connection-btn"]').click(); diff --git a/openmetadata-ui/src/main/resources/ui/cypress/integration/AddNewService/snowflake.spec.js b/openmetadata-ui/src/main/resources/ui/cypress/integration/AddNewService/snowflake.spec.js index 6b33ff77a0a..c3f0821faf1 100644 --- a/openmetadata-ui/src/main/resources/ui/cypress/integration/AddNewService/snowflake.spec.js +++ b/openmetadata-ui/src/main/resources/ui/cypress/integration/AddNewService/snowflake.spec.js @@ -14,7 +14,7 @@ import { goToAddNewServicePage, testServiceCreationAndIngestion } from '../../common/common'; describe('Snowflake Ingestion', () => { - it('add and ingest data', () => { + it('add and ingest data', { defaultCommandTimeout: 8000 }, () => { goToAddNewServicePage(); const connectionInput = () => { cy.get('#root_username').type(Cypress.env('snowflakeUsername'));