From cb0bbcc8c4ac6e0a99fae863534b53b5bec363d1 Mon Sep 17 00:00:00 2001 From: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Tue, 21 Jun 2022 06:34:15 -0700 Subject: [PATCH] Document and remove unneeded command --- .../src/areas/terminal/terminal-shellIntegration.test.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/smoke/src/areas/terminal/terminal-shellIntegration.test.ts b/test/smoke/src/areas/terminal/terminal-shellIntegration.test.ts index 4b08bdfbf0e..a3522864455 100644 --- a/test/smoke/src/areas/terminal/terminal-shellIntegration.test.ts +++ b/test/smoke/src/areas/terminal/terminal-shellIntegration.test.ts @@ -73,6 +73,9 @@ export function setup() { }); }); + // These are integration tests that only test the UI side by simulating process writes. + // Because of this, they do not test the shell integration scripts, only what the scripts + // are expected to write. describe('Write data-based tests', () => { before(async function () { await setTerminalTestSettings(app); @@ -93,7 +96,7 @@ export function setup() { await terminal.assertCommandDecorations({ placeholder: 1, success: 1, error: 0 }); await terminal.runCommandWithValue(TerminalCommandIdWithValue.WriteDataToTerminal, `\\r\\n${vsc('C')}Failure\\r\\n${vsc('D;1')}`); await terminal.assertCommandDecorations({ placeholder: 0, success: 1, error: 1 }); - await terminal.runCommandWithValue(TerminalCommandIdWithValue.WriteDataToTerminal, `${vsc('A')}Prompt> ${vsc('B')}exitcode 1`); + await terminal.runCommandWithValue(TerminalCommandIdWithValue.WriteDataToTerminal, `${vsc('A')}Prompt> ${vsc('B')}`); await terminal.assertCommandDecorations({ placeholder: 1, success: 1, error: 1 }); }); });