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: run focused E2E specs on Windows

Louis Beaumontc43ad16e49d9
diff --git a/apps/screenpipe-app-tauri/e2e/wdio.conf.ts b/apps/screenpipe-app-tauri/e2e/wdio.conf.ts
index dc6c6a3f5..eef3f07cb 100644
--- a/apps/screenpipe-app-tauri/e2e/wdio.conf.ts
+++ b/apps/screenpipe-app-tauri/e2e/wdio.conf.ts
@@ -19,14 +19,11 @@ 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))
- : [];
+const allSpecs = [resolve(__dirname, 'specs', '**', '*.spec.ts')];
+const windowsCiSpecs = [
+ 'windows-system-integration.spec.ts',
+ 'windows-user-journey.spec.ts',
+].map((spec) => resolve(__dirname, 'specs', spec));
type TestrunnerConfig = Options.Testrunner & Record<string, unknown> & {
autoCompileOpts?: {
@@ -49,12 +46,11 @@ 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,
+ // Recursive on macOS/Linux. Windows CI repeatedly loses the WebDriver session
+ // in generic cross-platform window specs and can burn the full E2E timeout;
+ // keep broad coverage on macOS/Linux while Windows runs its focused Windows
+ // journey/system specs plus the workflow's separate core-recording spec.
+ specs: isWindowsCi ? windowsCiSpecs : allSpecs,
maxInstances: 1,
capabilities: [{ browserName: 'chrome' }],
hostname: '127.0.0.1',