Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

ci: quarantine flaky Windows window E2E specs

Louis Beaumontcc1c01242017
diff --git a/apps/screenpipe-app-tauri/e2e/wdio.conf.ts b/apps/screenpipe-app-tauri/e2e/wdio.conf.ts
index d9312a043..dc6c6a3f5 100644
--- a/apps/screenpipe-app-tauri/e2e/wdio.conf.ts
+++ b/apps/screenpipe-app-tauri/e2e/wdio.conf.ts
@@ -19,6 +19,14 @@ const sessionRecorder = shouldRecordDesktopSession ? new TestRecorder() : null;
const sessionVideoDir = resolve(__dirname, 'videos', 'session');
const isCi = Boolean(process.env.CI);
const isWindowsCi = isCi && process.platform === 'win32';
+const windowsCiExcludedSpecs = isWindowsCi
+ ? [
+ 'main-overlay-visibility.spec.ts',
+ 'main-window-close-reopen.spec.ts',
+ 'main-window.spec.ts',
+ 'meeting-apps-picker.spec.ts',
+ ].map((spec) => resolve(__dirname, 'specs', spec))
+ : [];
type TestrunnerConfig = Options.Testrunner & Record<string, unknown> & {
autoCompileOpts?: {
@@ -43,6 +51,10 @@ export const config: TestrunnerConfig = {
// Recursive: top-level specs plus grouped subfolders (e.g. specs/search/).
specs: [resolve(__dirname, 'specs', '**', '*.spec.ts')],
+ // Windows CI repeatedly loses the WebDriver session in the generic window
+ // specs and burns the full E2E timeout. Keep those specs covered by
+ // Linux/macOS while Windows runs its Windows-specific journey/system specs.
+ exclude: windowsCiExcludedSpecs,
maxInstances: 1,
capabilities: [{ browserName: 'chrome' }],
hostname: '127.0.0.1',