diff --git a/test/automation/src/sql/notebook.ts b/test/automation/src/sql/notebook.ts index 608efb61b5..afc6b827c1 100644 --- a/test/automation/src/sql/notebook.ts +++ b/test/automation/src/sql/notebook.ts @@ -37,9 +37,9 @@ export class Notebook { async addCell(cellType: 'markdown' | 'code'): Promise { if (cellType === 'markdown') { - await this.code.dispatchKeybinding(winOrCtrl + '+shift+t'); + await this.code.dispatchKeybinding('ctrl+shift+t'); } else { - await this.code.dispatchKeybinding(winOrCtrl + '+shift+c'); + await this.code.dispatchKeybinding('ctrl+shift+c'); } await this.code.waitForElement('.notebook-cell.active'); @@ -58,7 +58,7 @@ export class Notebook { } async runAllCells(): Promise { - await this.code.dispatchKeybinding(winOrCtrl + '+shift+F5'); + await this.code.dispatchKeybinding('ctrl+shift+F5'); } async clearResults(): Promise { diff --git a/test/smoke/src/sql/areas/notebook/notebook.test.ts b/test/smoke/src/sql/areas/notebook/notebook.test.ts index cd174d1879..e836b67fbe 100644 --- a/test/smoke/src/sql/areas/notebook/notebook.test.ts +++ b/test/smoke/src/sql/areas/notebook/notebook.test.ts @@ -13,6 +13,7 @@ export function setup() { await app.workbench.sqlNotebook.newUntitledNotebook(); await app.workbench.sqlNotebook.addCell('code'); await app.workbench.sqlNotebook.waitForTypeInEditor('print("Hello world!")'); + await app.workbench.sqlNotebook.waitForKernel('SQL'); await app.workbench.sqlNotebook.changeKernel('Python 3'); await app.workbench.configurePythonDialog.waitForConfigurePythonDialog();