From b44e432f55e3138ee96bcd5529ab4d55fdb40420 Mon Sep 17 00:00:00 2001 From: Alisa <62909685+alisa-alisa@users.noreply.github.com> Date: Thu, 29 Jan 2026 11:25:11 -0800 Subject: [PATCH] Disable mouse tracking e2e (#17880) Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- integration-tests/globalSetup.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/integration-tests/globalSetup.ts b/integration-tests/globalSetup.ts index 18b9d62e87..150fa7316d 100644 --- a/integration-tests/globalSetup.ts +++ b/integration-tests/globalSetup.ts @@ -72,6 +72,13 @@ export async function setup() { } export async function teardown() { + // Disable mouse tracking + if (process.stdout.isTTY) { + process.stdout.write( + '\x1b[?1000l\x1b[?1003l\x1b[?1015l\x1b[?1006l\x1b[?1002l', + ); + } + // Cleanup the test run directory unless KEEP_OUTPUT is set if (process.env['KEEP_OUTPUT'] !== 'true' && runDir) { try {