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>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-11 21:12:10 +00:00
parent 7b6fd2e5f8
commit f6fbcd535a

View File

@@ -16,7 +16,10 @@ export function setup(options?: { skipSuite: boolean }) {
const app = this.app as Application; const app = this.app as Application;
terminal = app.workbench.terminal; terminal = app.workbench.terminal;
settingsEditor = app.workbench.settingsEditor; 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 () { after(async function () {