From f6fbcd535abf6ee1ffb38cf93a8d815d25ed2df5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Feb 2026 21:12:10 +0000 Subject: [PATCH] Fix terminal persistence test by setting stable title format Set terminal.integrated.tabs.title to ${process} to ensure consistent terminal names for detach/attach operations in the smoke test. This prevents name mismatches on Windows where the default title format may include dynamic content. Fixes failing test: Terminal Persistence -> detach/attach -> should support basic reconnection Co-authored-by: Tyriar <2193314+Tyriar@users.noreply.github.com> --- test/smoke/src/areas/terminal/terminal-persistence.test.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/smoke/src/areas/terminal/terminal-persistence.test.ts b/test/smoke/src/areas/terminal/terminal-persistence.test.ts index 455d1f016d4..c4cb0ca0fd0 100644 --- a/test/smoke/src/areas/terminal/terminal-persistence.test.ts +++ b/test/smoke/src/areas/terminal/terminal-persistence.test.ts @@ -16,7 +16,10 @@ export function setup(options?: { skipSuite: boolean }) { const app = this.app as Application; terminal = app.workbench.terminal; settingsEditor = app.workbench.settingsEditor; - await setTerminalTestSettings(app); + await setTerminalTestSettings(app, [ + // Use ${process} for terminal title to ensure stable names for detach/attach + ['terminal.integrated.tabs.title', '"${process}"'] + ]); }); after(async function () {