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