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
test: stabilize windows recording settings e2e
Louis Beaumontbe42f9977361
diff --git a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsxindex 29a9d647f..742f6c672 100644--- a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx+++ b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx@@ -2641,7 +2641,7 @@ Your screen is a pipe. Everything you see, hear, and type flows through it. Scre};return (- <div className="space-y-5" ref={sectionRootRef}>+ <div className="space-y-5" data-testid="section-settings-recording" ref={sectionRootRef}><p className="text-muted-foreground text-sm mb-4">Screen and audio recording preferences</p>diff --git a/apps/screenpipe-app-tauri/e2e/specs/windows-user-journey.spec.ts b/apps/screenpipe-app-tauri/e2e/specs/windows-user-journey.spec.tsindex b85229517..e3d0e5cfe 100644--- a/apps/screenpipe-app-tauri/e2e/specs/windows-user-journey.spec.ts+++ b/apps/screenpipe-app-tauri/e2e/specs/windows-user-journey.spec.ts@@ -430,14 +430,31 @@ describe("Windows user journey", function () {const recordingNav = await $('[data-testid="settings-nav-recording"]');await recordingNav.waitForDisplayed({ timeout: t(15_000) });+ await recordingNav.scrollIntoView();await recordingNav.click();+ await expectCurrentSettingsSection("recording", t(20_000));- await waitForBodyText(- (bodyText) =>- bodyText.includes("screen and audio recording preferences") &&- bodyText.includes("audio recording") &&- bodyText.includes("screen recording"),- "Recording settings did not show the core audio/screen controls",+ const recordingSection = await $('[data-testid="section-settings-recording"]');+ await recordingSection.waitForDisplayed({ timeout: t(20_000) });++ await browser.waitUntil(+ async () => {+ const sectionText = (await recordingSection.getText()).toLowerCase();+ const hasScreenControls =+ sectionText.includes("screen context capture") ||+ sectionText.includes("screenshot images");++ return (+ sectionText.includes("screen and audio recording preferences") &&+ sectionText.includes("audio recording") &&+ hasScreenControls+ );+ },+ {+ timeout: t(20_000),+ interval: 500,+ timeoutMsg: "Recording settings did not show the core audio/screen controls",+ },);const recordingScreenshot = await saveScreenshot("windows-user-journey-recording-settings");