Skip to content

Commit

Permalink
delete data source connection
Browse files Browse the repository at this point in the history
Signed-off-by: Qingyang(Abby) Hu <[email protected]>
  • Loading branch information
abbyhu2000 committed Nov 7, 2024
1 parent c470b28 commit 27cc912
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@ describe('dataset navigator', { scrollBehavior: false }, () => {

after(() => {
cy.deleteIndex('timestamp-nanos');
cy.deleteSavedObject('data-source', clusterName);
// delete the data source connection
miscUtils.visitPage('app/management/opensearch-dashboards/dataSources/');
cy.get(`[class="euiTableRowCell"]`).contains(clusterName).click();
cy.getElementByTestId('editDatasourceDeleteIcon').click();
cy.getElementByTestId('confirmModalConfirmButton').click();
});
});

0 comments on commit 27cc912

Please sign in to comment.