From 045d4d76152e41aa8dff696e3b98e48c8890f31d Mon Sep 17 00:00:00 2001 From: Andreas Arvidsson Date: Thu, 5 Feb 2026 19:14:23 +0100 Subject: [PATCH] Skip custom spoken form test on Linux in CI --- .../suite/scopeProvider/scopeProvider.vscode.test.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/cursorless-vscode-e2e/src/suite/scopeProvider/scopeProvider.vscode.test.ts b/packages/cursorless-vscode-e2e/src/suite/scopeProvider/scopeProvider.vscode.test.ts index dd0a5ed94e..f900397846 100644 --- a/packages/cursorless-vscode-e2e/src/suite/scopeProvider/scopeProvider.vscode.test.ts +++ b/packages/cursorless-vscode-e2e/src/suite/scopeProvider/scopeProvider.vscode.test.ts @@ -1,5 +1,7 @@ import { asyncSafety } from "@cursorless/common"; +import { isLinux } from "@cursorless/node-common"; import { endToEndTestSetup } from "../../endToEndTestSetup"; +import { isCI } from "../../isCI"; import { runBasicScopeInfoTest } from "./runBasicScopeInfoTest"; import { runCustomRegexScopeInfoTest } from "./runCustomRegexScopeInfoTest"; import { runCustomSpokenFormScopeInfoTest } from "./runCustomSpokenFormScopeInfoTest"; @@ -18,7 +20,14 @@ suite("scope provider", async function () { ); test( "custom spoken form", - asyncSafety(() => runCustomSpokenFormScopeInfoTest()), + asyncSafety(() => { + // FIXME: This test is flaky on Linux CI, so we skip it there for now + if (isCI() && isLinux()) { + this.ctx.skip(); + } + + return runCustomSpokenFormScopeInfoTest(); + }), ); test( "custom regex",