mirror of
https://github.com/Microsoft/vscode
synced 2024-10-01 08:50:48 +00:00
Speculative fix for terminal tabs flaky smoke test
Wait briefly between backspace and enter. Fixes #216460
This commit is contained in:
parent
be0e53510d
commit
34cd689874
|
@ -119,6 +119,7 @@ export class Terminal {
|
||||||
// Reset
|
// Reset
|
||||||
await this.code.dispatchKeybinding('Backspace');
|
await this.code.dispatchKeybinding('Backspace');
|
||||||
}
|
}
|
||||||
|
await this.code.wait(100);
|
||||||
await this.code.dispatchKeybinding(altKey ? 'Alt+Enter' : 'enter');
|
await this.code.dispatchKeybinding(altKey ? 'Alt+Enter' : 'enter');
|
||||||
await this.quickinput.waitForQuickInputClosed();
|
await this.quickinput.waitForQuickInputClosed();
|
||||||
if (commandId === TerminalCommandIdWithValue.NewWithProfile) {
|
if (commandId === TerminalCommandIdWithValue.NewWithProfile) {
|
||||||
|
|
Loading…
Reference in a new issue