mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
fix smoke test failure (#15276)
* add logging * fix * remove logging * comment out code and add comments
This commit is contained in:
@@ -311,29 +311,31 @@ describe(`VSCode Smoke Tests (${opts.web ? 'Web' : 'Electron'})`, () => {
|
|||||||
// });
|
// });
|
||||||
// }
|
// }
|
||||||
|
|
||||||
describe(`VSCode Smoke Tests (${opts.web ? 'Web' : 'Electron'})`, () => {
|
// {{SQL CARBON EDIT}} - Remove the nested test suite to make sure the suite setup is also applied to beforeEach and afterEach
|
||||||
before(async function () {
|
// describe(`VSCode Smoke Tests (${opts.web ? 'Web' : 'Electron'})`, () => {
|
||||||
const app = new Application(this.defaultOptions);
|
|
||||||
await app!.start(opts.web ? false : undefined);
|
|
||||||
this.app = app;
|
|
||||||
});
|
|
||||||
|
|
||||||
after(async function () {
|
before(async function () {
|
||||||
await this.app.stop();
|
const app = new Application(this.defaultOptions);
|
||||||
});
|
await app!.start(opts.web ? false : undefined);
|
||||||
|
this.app = app;
|
||||||
sqlMain(opts.web);
|
|
||||||
|
|
||||||
/* if (!opts.web) { setupDataLossTests(); }
|
|
||||||
if (!opts.web) { setupDataPreferencesTests(); }
|
|
||||||
setupDataSearchTests();
|
|
||||||
setupDataNotebookTests();
|
|
||||||
setupDataLanguagesTests();
|
|
||||||
setupDataEditorTests();
|
|
||||||
setupDataStatusbarTests(!!opts.web);
|
|
||||||
setupDataExtensionTests();
|
|
||||||
if (!opts.web) { setupDataMultirootTests(); }
|
|
||||||
if (!opts.web) { setupDataLocalizationTests(); }
|
|
||||||
if (!opts.web) { setupLaunchTests(); }*/
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
after(async function () {
|
||||||
|
await this.app.stop();
|
||||||
|
});
|
||||||
|
|
||||||
|
sqlMain(opts.web);
|
||||||
|
|
||||||
|
/* if (!opts.web) { setupDataLossTests(); }
|
||||||
|
if (!opts.web) { setupDataPreferencesTests(); }
|
||||||
|
setupDataSearchTests();
|
||||||
|
setupDataNotebookTests();
|
||||||
|
setupDataLanguagesTests();
|
||||||
|
setupDataEditorTests();
|
||||||
|
setupDataStatusbarTests(!!opts.web);
|
||||||
|
setupDataExtensionTests();
|
||||||
|
if (!opts.web) { setupDataMultirootTests(); }
|
||||||
|
if (!opts.web) { setupDataLocalizationTests(); }
|
||||||
|
if (!opts.web) { setupLaunchTests(); }*/
|
||||||
|
// });
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user