From 8b5e6ff8c5f10ba94c639457dbd8e98740faa889 Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Fri, 12 Jun 2020 07:56:10 -0500 Subject: [PATCH] Fix notebook smoketest Esc doesn't do the right thing because a notification showed up Fix #99941 --- test/automation/src/notebook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/automation/src/notebook.ts b/test/automation/src/notebook.ts index 6f1b1a10e99..baa05e7cf78 100644 --- a/test/automation/src/notebook.ts +++ b/test/automation/src/notebook.ts @@ -35,7 +35,7 @@ export class Notebook { } async stopEditingCell() { - await this.code.dispatchKeybinding('esc'); + await this.quickAccess.runCommand('notebook.cell.quitEdit'); } async waitForTypeInEditor(text: string): Promise {