Skip to content

Commit 88d515d

Browse files
committed
Skip flaky tests on Windows for runInTerminal and smartSend smoke tests
1 parent 399a766 commit 88d515d

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

src/test/smoke/runInTerminal.smoke.test.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ suite('Smoke Test: Run Python File In Terminal', () => {
2828
suiteTeardown(closeActiveWindows);
2929
teardown(closeActiveWindows);
3030

31-
// TODO: Re-enable this test once the flakiness is resolved
32-
test.skip('Exec', async () => {
31+
// TODO: Re-enable this test once the flakiness on Windows is resolved
32+
test('Exec', async function () {
33+
if (process.platform === 'win32') {
34+
return this.skip();
35+
}
3336
const file = path.join(
3437
EXTENSION_ROOT_DIR_FOR_TESTS,
3538
'src',

src/test/smoke/smartSend.smoke.test.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@ suite('Smoke Test: Run Smart Selection and Advance Cursor', async () => {
1919
suiteTeardown(closeActiveWindows);
2020
teardown(closeActiveWindows);
2121

22-
// TODO: Re-enable this test once the flakiness is resolved
23-
test.skip('Smart Send', async () => {
22+
// TODO: Re-enable this test once the flakiness on Windows is resolved
23+
test('Smart Send', async function () {
24+
if (process.platform === 'win32') {
25+
return this.skip();
26+
}
2427
const file = path.join(
2528
EXTENSION_ROOT_DIR_FOR_TESTS,
2629
'src',

0 commit comments

Comments
 (0)