Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Imms <2193314+Tyriar@users.noreply.github.com>2022-06-21 16:34:15 +0300
committerDaniel Imms <2193314+Tyriar@users.noreply.github.com>2022-06-21 16:34:15 +0300
commitcb0bbcc8c4ac6e0a99fae863534b53b5bec363d1 (patch)
treed2675174107b4ff6660ff72c474a541d4c5a46e3 /test
parentd0ca1d211028e45e601e27f55cc185cb1932a520 (diff)
Document and remove unneeded command
Diffstat (limited to 'test')
-rw-r--r--test/smoke/src/areas/terminal/terminal-shellIntegration.test.ts5
1 files changed, 4 insertions, 1 deletions
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 });
});
});