From e6bcf670f45d220987cf90e899776e134fe63db8 Mon Sep 17 00:00:00 2001 From: abbyhu2000 Date: Thu, 12 Dec 2024 02:48:22 +0000 Subject: [PATCH] issue with delete datasource Signed-off-by: abbyhu2000 --- .../query_enhancements/dataset_selector.spec.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/cypress/integration/apps/query_enhancements/dataset_selector.spec.js b/cypress/integration/apps/query_enhancements/dataset_selector.spec.js index 0ab92f04afb7..3d6b1e626e3e 100644 --- a/cypress/integration/apps/query_enhancements/dataset_selector.spec.js +++ b/cypress/integration/apps/query_enhancements/dataset_selector.spec.js @@ -40,7 +40,6 @@ describe('dataset selector', { scrollBehavior: false }, () => { cy.get(`button[id="no_auth"]`).click(); cy.getElementByTestId('createDataSourceButton').click(); - cy.getElementByTestId('editSetDefaultDataSource').click(); // set as default cy.wait('@createDataSourceRequest').then((interception) => { expect(interception.response.statusCode).to.equal(200); @@ -158,11 +157,11 @@ describe('dataset selector', { scrollBehavior: false }, () => { after(() => { cy.deleteIndex('timestamp-nanos'); // delete the data source connection - miscUtils.visitPage('app/management/opensearch-dashboards/dataSources/'); - cy.wait(10000); - cy.waitForLoaderNewHeader(); - cy.get(`[class="euiTableRowCell"]`).contains(SECONDARY_ENGINE.name).click(); - cy.getElementByTestId('editDatasourceDeleteIcon').click(); - cy.getElementByTestId('confirmModalConfirmButton').click(); + // miscUtils.visitPage('app/management/opensearch-dashboards/dataSources/'); + // cy.wait(10000); + // cy.waitForLoaderNewHeader(); + // cy.get(`[class="euiTableRowCell"]`).contains(SECONDARY_ENGINE.name).click(); + // cy.getElementByTestId('editDatasourceDeleteIcon').click(); + // cy.getElementByTestId('confirmModalConfirmButton').click(); }); });