Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cypress tests for discover 2.0 #1598

Merged
merged 9 commits into from
Nov 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
delete data source connection
Signed-off-by: Qingyang(Abby) Hu <abigailhu2000@gmail.com>
abbyhu2000 committed Nov 7, 2024
commit 27cc91235dcb7579356a9831d69ae77b822c3a62
Original file line number Diff line number Diff line change
@@ -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();
});
});