mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Enable manage packages smoke test (#19504)
* fix page being reset twice and add back smoke test * add missing await * check pyarrow info loaded * install latest package version * fix version select box selector * split out into two PRs
This commit is contained in:
@@ -86,8 +86,7 @@ export function setup(opts: minimist.ParsedArgs) {
|
||||
await app.workbench.sqlNotebook.waitForActiveCellResults();
|
||||
});
|
||||
|
||||
// Skip this test for now since it is not stable - the way that the wizard is initialized needs to be refactored
|
||||
it.skip('can add a new package from the Manage Packages wizard', async function () {
|
||||
it('can add a new package from the Manage Packages wizard', async function () {
|
||||
const app = this.app as Application;
|
||||
await app.workbench.sqlNotebook.newUntitledNotebook();
|
||||
await app.workbench.sqlNotebook.notebookToolbar.waitForKernel('SQL');
|
||||
@@ -101,9 +100,9 @@ export function setup(opts: minimist.ParsedArgs) {
|
||||
|
||||
await app.workbench.sqlNotebook.notebookToolbar.managePackages();
|
||||
await app.workbench.managePackagesDialog.waitForManagePackagesDialog();
|
||||
await app.workbench.managePackagesDialog.addNewPackage('pyarrow', '7.0.0');
|
||||
let packageVersion = await app.workbench.managePackagesDialog.addNewPackage('pyarrow');
|
||||
await app.workbench.taskPanel.showTaskPanel();
|
||||
await app.workbench.taskPanel.waitForTaskComplete('Installing pyarrow 7.0.0 succeeded');
|
||||
await app.workbench.taskPanel.waitForTaskComplete(`Installing pyarrow ${packageVersion} succeeded`);
|
||||
|
||||
// There should be no error output when running the cell after pyarrow has been installed
|
||||
await app.workbench.sqlNotebook.runActiveCell();
|
||||
|
||||
Reference in New Issue
Block a user