diff --git a/.github/workflows/cypress-integration-tests.yml b/.github/workflows/cypress-integration-tests.yml index 6fbcf5cc907..9a15b4331e1 100644 --- a/.github/workflows/cypress-integration-tests.yml +++ b/.github/workflows/cypress-integration-tests.yml @@ -62,7 +62,7 @@ jobs: parallel: true working-directory: openmetadata-ui/src/main/resources/ui/ wait-on: 'http://localhost:8585' - browser: firefox + browser: chrome env: CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} CYPRESS_SNOWFLAKE_USERNAME: ${{ secrets.CYPRESS_SNOWFLAKE_USERNAME }} 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 ec3694931c9..1ee6cb9d99d 100644 --- a/openmetadata-ui/src/main/resources/ui/cypress/common/common.js +++ b/openmetadata-ui/src/main/resources/ui/cypress/common/common.js @@ -163,6 +163,7 @@ export const goToAddNewServicePage = () => { // Services page cy.contains('Services').should('be.visible'); + cy.wait(500); cy.get('.activeCategory > .tw-py-px').then(($databaseServiceCount) => { if ($databaseServiceCount.text() === '0') { cy.get('[data-testid="add-service-button"]').should('be.visible').click();