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'));