You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cypress/integration/core-opensearch-dashboards/opensearch-dashboards/datasource-management-plugin/4_set_default_datasource.spec.js
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,12 @@ const miscUtils = new MiscUtils(cy);
10
10
if(Cypress.env('DATASOURCE_MANAGEMENT_ENABLED')){
11
11
describe('Default data sources',()=>{
12
12
before(()=>{
13
-
// Clean up before creating new data sources for testing
14
-
cy.deleteAllDataSourcesOnUI();
13
+
// Clean up after all test are run
14
+
cy.deleteAllDataSources();
15
+
// remove the default data source
16
+
cy.setAdvancedSetting({
17
+
defaultDataSource: '',
18
+
});
15
19
});
16
20
17
21
describe('The default data source can behave normal when edit data source table',()=>{
0 commit comments