Speculative fix for terminal tabs flaky smoke test

Wait briefly between backspace and enter.

Fixes #216460
This commit is contained in:
Daniel Imms 2024-06-18 05:52:50 -07:00
parent be0e53510d
commit 34cd689874
No known key found for this signature in database
GPG Key ID: E5CF412B63651C69

View File

@ -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) {