diff --git a/src/sql/workbench/browser/modal/modal.ts b/src/sql/workbench/browser/modal/modal.ts index 227030ba63..4d19bd7e15 100644 --- a/src/sql/workbench/browser/modal/modal.ts +++ b/src/sql/workbench/browser/modal/modal.ts @@ -465,7 +465,7 @@ export abstract class Modal extends Disposable implements IThemable { DOM.append(this.layoutService.container, this._bodyContainer!); this.setInitialFocusedElement(); - this.disposableStore.add(DOM.addDisposableListener(document, DOM.EventType.KEY_UP, (e: KeyboardEvent) => { + this.disposableStore.add(DOM.addDisposableListener(document, DOM.EventType.KEY_DOWN, (e: KeyboardEvent) => { let context = this._modalShowingContext.get()!; if (context[context.length - 1] === this._staticKey) { let event = new StandardKeyboardEvent(e); diff --git a/test/smoke/src/sql/areas/notebook/notebook.test.ts b/test/smoke/src/sql/areas/notebook/notebook.test.ts index 69d3be7438..cd174d1879 100644 --- a/test/smoke/src/sql/areas/notebook/notebook.test.ts +++ b/test/smoke/src/sql/areas/notebook/notebook.test.ts @@ -6,7 +6,7 @@ import { Application } from '../../../../../automation'; export function setup() { - describe.skip('Notebook', () => { + describe('Notebook', () => { it('can open new notebook, configure Python, and execute one cell', async function () { const app = this.app as Application;