mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-04 01:25:38 -05:00
take screenshot when wizard page not loaded (#16867)
This commit is contained in:
@@ -64,7 +64,15 @@ export function setup() {
|
||||
|
||||
await app.workbench.sqlNotebook.notebookToolbar.changeKernel('Python 3');
|
||||
await app.workbench.configurePythonDialog.waitForConfigurePythonDialog();
|
||||
await app.workbench.configurePythonDialog.installPython();
|
||||
try {
|
||||
await app.workbench.configurePythonDialog.waitForPageOneLoaded();
|
||||
} catch (e) {
|
||||
await app.captureScreenshot('Configure Python Dialog page one not loaded');
|
||||
throw e;
|
||||
}
|
||||
await app.workbench.configurePythonDialog.next();
|
||||
await app.workbench.configurePythonDialog.waitForPageTwoLoaded();
|
||||
await app.workbench.configurePythonDialog.install();
|
||||
await app.workbench.sqlNotebook.notebookToolbar.waitForKernel('Python 3');
|
||||
|
||||
await app.workbench.sqlNotebook.runActiveCell();
|
||||
|
||||
Reference in New Issue
Block a user