From 34cd6898741a0bad3089b8f2765ea04445132920 Mon Sep 17 00:00:00 2001 From: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Tue, 18 Jun 2024 05:52:50 -0700 Subject: [PATCH] Speculative fix for terminal tabs flaky smoke test Wait briefly between backspace and enter. Fixes #216460 --- test/automation/src/terminal.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/automation/src/terminal.ts b/test/automation/src/terminal.ts index b40606928f8..8ebcbd68636 100644 --- a/test/automation/src/terminal.ts +++ b/test/automation/src/terminal.ts @@ -119,6 +119,7 @@ export class Terminal { // Reset await this.code.dispatchKeybinding('Backspace'); } + await this.code.wait(100); await this.code.dispatchKeybinding(altKey ? 'Alt+Enter' : 'enter'); await this.quickinput.waitForQuickInputClosed(); if (commandId === TerminalCommandIdWithValue.NewWithProfile) {