wait for kernel change before running cell (#12949)

This commit is contained in:
Lucy Zhang
2020-10-16 09:59:03 -07:00
committed by GitHub
parent f6949d834b
commit 767465edbf
3 changed files with 17 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ export function setup() {
await app.workbench.sqlNotebook.changeKernel('Python 3');
await app.workbench.configurePythonDialog.waitForConfigurePythonDialog();
await app.workbench.configurePythonDialog.installPython();
await app.workbench.sqlNotebook.waitForKernel('Python 3');
await app.workbench.sqlNotebook.runActiveCell();
await app.workbench.sqlNotebook.waitForResults();