mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-14 23:18:36 +00:00
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:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user