Fix manage python packages smoke test (#19232)

* make sure cell is ran

* make sure dialog is gone before runing cell again

* ensure package is done installing

* show task panel

* remove comment

* pr comments

* pr comments

* add 7.0.0 package version
This commit is contained in:
Lucy Zhang
2022-05-04 06:19:51 -07:00
committed by GitHub
parent 7de41a98b4
commit 2547754d0f
4 changed files with 45 additions and 4 deletions

View File

@@ -33,6 +33,7 @@ import { ManagePackagesDialog } from './sql/managePackagesDialog';
import { CreateBookDialog } from './sql/createBookDialog';
import { NotificationToast } from './sql/notificationToast';
import { AddRemoteBookDialog } from './sql/addRemoteBookDialog';
import { TaskPanel } from './sql/taskPanel';
// {{END}}
export interface Commands {
@@ -70,6 +71,7 @@ export class Workbench {
readonly managePackagesDialog: ManagePackagesDialog;
readonly notificationToast: NotificationToast;
readonly addRemoteBookDialog: AddRemoteBookDialog;
readonly taskPanel: TaskPanel;
// {{END}}
constructor(code: Code, userDataPath: string) {
@@ -99,6 +101,7 @@ export class Workbench {
this.configurePythonDialog = new ConfigurePythonDialog(code);
this.managePackagesDialog = new ManagePackagesDialog(code);
this.addRemoteBookDialog = new AddRemoteBookDialog(code);
this.taskPanel = new TaskPanel(code, this.quickaccess);
// {{END}}
this.notebook = new Notebook(this.quickaccess, code);
this.localization = new Localization(code);