Skip to content

Commit d1f6901

Browse files
committed
revert
Signed-off-by: Qxisylolo <[email protected]>
1 parent 70a77a5 commit d1f6901

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

cypress/integration/core-opensearch-dashboards/opensearch-dashboards/datasource-management-plugin/4_set_default_datasource.spec.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@ const miscUtils = new MiscUtils(cy);
1010
if (Cypress.env('DATASOURCE_MANAGEMENT_ENABLED')) {
1111
describe('Default data sources', () => {
1212
before(() => {
13-
// Clean up after all test are run
14-
cy.deleteAllDataSources();
15-
// remove the default data source
16-
cy.setAdvancedSetting({
17-
defaultDataSource: '',
18-
});
13+
// Clean up before creating new data sources for testing
14+
cy.deleteAllDataSourcesOnUI();
1915
});
2016

2117
describe('The default data source can behave normal when edit data source table', () => {

0 commit comments

Comments
 (0)