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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix e2e ci platform flakes
louis03019529502d5da0bb
diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.ymlindex 8efe33cf5..5a1dd8100 100644--- a/.github/workflows/e2e-test.yml+++ b/.github/workflows/e2e-test.yml@@ -259,7 +259,7 @@ jobs:libxext-dev libxrandr-dev libxinerama-dev libxcursor-devlibxi-dev libgl1-mesa-dev mesa-utils libgl1-mesa-dri libegl1-mesa-devlibasound2-dev libpulse-dev- curl desktop-file-utils xdg-utils dbus-x11 xvfb+ curl desktop-file-utils xdg-utils dbus-x11 gsettings-desktop-schemas xvfbx11-xserver-utils pkg-config libsqlite3-dev libbz2-devzlib1g-dev libonig-dev libayatana-appindicator3-devlibsamplerate-dev libwebrtc-audio-processing-dev libgtk-3-devdiff --git a/apps/screenpipe-app-tauri/e2e/specs/app-lifecycle.spec.ts b/apps/screenpipe-app-tauri/e2e/specs/app-lifecycle.spec.tsindex 19475584f..c8f2fad7d 100644--- a/apps/screenpipe-app-tauri/e2e/specs/app-lifecycle.spec.ts+++ b/apps/screenpipe-app-tauri/e2e/specs/app-lifecycle.spec.ts@@ -69,7 +69,10 @@ describe("App lifecycle and UI stability", function () {hasBody: Boolean(document.body),}))) as { title: string; href: string; hasBody: boolean };expect(typeof context.title).toBe("string");- expect(context.href).toContain("tauri.localhost");+ expect(+ context.href.includes("tauri.localhost") ||+ context.href.startsWith("tauri://localhost/")+ ).toBe(true);expect(context.hasBody).toBe(true);});diff --git a/apps/screenpipe-app-tauri/e2e/specs/settings-sections.spec.ts b/apps/screenpipe-app-tauri/e2e/specs/settings-sections.spec.tsindex 0f0ec2dad..cb4eb2111 100644--- a/apps/screenpipe-app-tauri/e2e/specs/settings-sections.spec.ts+++ b/apps/screenpipe-app-tauri/e2e/specs/settings-sections.spec.ts@@ -47,6 +47,15 @@ const SETTINGS_SECTIONS = [{ id: 'referral', keywords: ['free month', 'referral', 'invite', 'share'] },] as const;+function isSettingsSectionUrl(url: string, id: string): boolean {+ const parsed = new URL(url);+ if (parsed.pathname !== '/settings') return false;+ if (id === 'display') {+ return !parsed.searchParams.has('section') || parsed.searchParams.get('section') === 'display';+ }+ return parsed.searchParams.get('section') === id;+}+describe('Settings sections', () => {before(async () => {await waitForAppReady();@@ -119,12 +128,7 @@ describe('Settings sections', () => {await browser.pause(500);const url = await browser.getUrl();- expect(url).toContain('/settings');- if (id === 'display') {- expect(url === 'http://tauri.localhost/settings' || url.includes('section=display')).toBe(true);- } else {- expect(url).toContain(`section=${id}`);- }+ expect(isSettingsSectionUrl(url, id)).toBe(true);const body = (await browser.execute(() => document.body.innerText.toLowerCase())) as string;expect(body).not.toContain('unhandled runtime error');