Integration test for UI flickers (#11067)

This commit is contained in:
Shreya Keshive
2025-10-14 11:41:43 -07:00
committed by GitHub
parent 99c7108bb0
commit 0a3e492e6b
2 changed files with 32 additions and 2 deletions
+2 -2
View File
@@ -545,7 +545,7 @@ export class TestRig {
try {
const content = readFileSync(logFilePath, 'utf-8');
// Check if file has meaningful content (at least one complete JSON object)
return content.includes('"event.name"');
return content.includes('"scopeMetrics"');
} catch {
return false;
}
@@ -908,7 +908,7 @@ export class TestRig {
const options: pty.IPtyForkOptions = {
name: 'xterm-color',
cols: 80,
rows: 30,
rows: 24,
cwd: this.testDir!,
env: Object.fromEntries(
Object.entries(env).filter(([, v]) => v !== undefined),