From 399a766afb9959e2836cc8ef46a1861953aec02b Mon Sep 17 00:00:00 2001 From: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com> Date: Fri, 21 Nov 2025 14:09:13 -0800 Subject: [PATCH 1/2] Skip flaky tests in smoke suite for terminal execution and smart send --- src/test/smoke/runInTerminal.smoke.test.ts | 3 ++- src/test/smoke/smartSend.smoke.test.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/test/smoke/runInTerminal.smoke.test.ts b/src/test/smoke/runInTerminal.smoke.test.ts index d5ce409f3ab1..81315181a020 100644 --- a/src/test/smoke/runInTerminal.smoke.test.ts +++ b/src/test/smoke/runInTerminal.smoke.test.ts @@ -28,7 +28,8 @@ suite('Smoke Test: Run Python File In Terminal', () => { suiteTeardown(closeActiveWindows); teardown(closeActiveWindows); - test('Exec', async () => { + // TODO: Re-enable this test once the flakiness is resolved + test.skip('Exec', async () => { const file = path.join( EXTENSION_ROOT_DIR_FOR_TESTS, 'src', diff --git a/src/test/smoke/smartSend.smoke.test.ts b/src/test/smoke/smartSend.smoke.test.ts index dc1f07f047e7..9e808baa5ad8 100644 --- a/src/test/smoke/smartSend.smoke.test.ts +++ b/src/test/smoke/smartSend.smoke.test.ts @@ -19,7 +19,8 @@ suite('Smoke Test: Run Smart Selection and Advance Cursor', async () => { suiteTeardown(closeActiveWindows); teardown(closeActiveWindows); - test('Smart Send', async () => { + // TODO: Re-enable this test once the flakiness is resolved + test.skip('Smart Send', async () => { const file = path.join( EXTENSION_ROOT_DIR_FOR_TESTS, 'src', From 88d515d305a373a92949e2a1222d956e74a9abae Mon Sep 17 00:00:00 2001 From: eleanorjboyd <26030610+eleanorjboyd@users.noreply.github.com> Date: Fri, 21 Nov 2025 15:16:21 -0800 Subject: [PATCH 2/2] Skip flaky tests on Windows for runInTerminal and smartSend smoke tests --- src/test/smoke/runInTerminal.smoke.test.ts | 7 +++++-- src/test/smoke/smartSend.smoke.test.ts | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/test/smoke/runInTerminal.smoke.test.ts b/src/test/smoke/runInTerminal.smoke.test.ts index 81315181a020..4bdec0843862 100644 --- a/src/test/smoke/runInTerminal.smoke.test.ts +++ b/src/test/smoke/runInTerminal.smoke.test.ts @@ -28,8 +28,11 @@ suite('Smoke Test: Run Python File In Terminal', () => { suiteTeardown(closeActiveWindows); teardown(closeActiveWindows); - // TODO: Re-enable this test once the flakiness is resolved - test.skip('Exec', async () => { + // TODO: Re-enable this test once the flakiness on Windows is resolved + test('Exec', async function () { + if (process.platform === 'win32') { + return this.skip(); + } const file = path.join( EXTENSION_ROOT_DIR_FOR_TESTS, 'src', diff --git a/src/test/smoke/smartSend.smoke.test.ts b/src/test/smoke/smartSend.smoke.test.ts index 9e808baa5ad8..80eabf356330 100644 --- a/src/test/smoke/smartSend.smoke.test.ts +++ b/src/test/smoke/smartSend.smoke.test.ts @@ -19,8 +19,11 @@ suite('Smoke Test: Run Smart Selection and Advance Cursor', async () => { suiteTeardown(closeActiveWindows); teardown(closeActiveWindows); - // TODO: Re-enable this test once the flakiness is resolved - test.skip('Smart Send', async () => { + // TODO: Re-enable this test once the flakiness on Windows is resolved + test('Smart Send', async function () { + if (process.platform === 'win32') { + return this.skip(); + } const file = path.join( EXTENSION_ROOT_DIR_FOR_TESTS, 'src',