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 39d4890b2a7..ba7467c6d9a 100644 --- a/openmetadata-ui/src/main/resources/ui/cypress/common/common.js +++ b/openmetadata-ui/src/main/resources/ui/cypress/common/common.js @@ -281,23 +281,9 @@ export const deleteCreatedService = (typeOfService, service_Name, apiService) => cy.get('[data-testid="confirm-button"]').should('be.visible').click(); verifyResponseStatusCode('@deleteService', 200); - //Waiting to check if myData page redirection is proper after deleting service - cy.get('[data-testid="tables"]').should('exist').should('be.visible'); - //Closing the toast notification toastNotification(`${typeOfService} Service deleted successfully!`) - //Checking if the service got deleted successfully - interceptURL('GET', '/api/v1/teams/name/Organization?fields=users,owns,defaultRoles,policies,owner,parents,childrenCount&include=all', 'getSettingsPage') - cy.get('[data-testid="appbar-item-settings"]').should('be.visible').click(); - verifyResponseStatusCode('@getSettingsPage', 200) - - // Services page - cy.get('[data-testid="settings-left-panel"]') - .contains(typeOfService) - .should('be.visible') - .click(); - cy.get(`[data-testid="service-name-${service_Name}"]`).should('not.exist'); }; diff --git a/openmetadata-ui/src/main/resources/ui/cypress/e2e/AddNewService/redshiftWithDBT.spec.js b/openmetadata-ui/src/main/resources/ui/cypress/e2e/AddNewService/redshiftWithDBT.spec.js index 67e8974fcf7..df57c90dc95 100644 --- a/openmetadata-ui/src/main/resources/ui/cypress/e2e/AddNewService/redshiftWithDBT.spec.js +++ b/openmetadata-ui/src/main/resources/ui/cypress/e2e/AddNewService/redshiftWithDBT.spec.js @@ -103,10 +103,10 @@ describe('RedShift Ingestion', () => { .should('be.visible') .click(); cy.get('[data-testid="list-item"]') - .contains('Add Dbt Ingestion') + .contains('Add DBT Ingestion') .click(); //Add DBT ingestion - cy.contains('Add Dbt Ingestion').should('be.visible'); + cy.contains('Add DBT Ingestion').should('be.visible'); cy.get('[data-testid="dbt-source"]') .should('be.visible') .select('HTTP Config Source');