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(e2e): dismiss notification from Windows bell
Louis Beaumont6179057d2b30
diff --git a/apps/screenpipe-app-tauri/e2e/README.md b/apps/screenpipe-app-tauri/e2e/README.mdindex d94810707..d231c77fb 100644--- a/apps/screenpipe-app-tauri/e2e/README.md+++ b/apps/screenpipe-app-tauri/e2e/README.md@@ -165,7 +165,7 @@ Saves to `e2e/videos/`.| `timeline.spec.ts` | Navigates to Timeline; seeds a capture event; verifies at least one frame renders || `windows-core-recording.spec.ts` | Windows opt-in. Enables real vision recording and requires API auth, health/load, audio/device, vision, and search endpoints to stay responsive. In CI it uses `SCREENPIPE_E2E_SEED=onboarding,no-audio` so hosted runners exercise OCR without booting Whisper. When the runner exposes usable desktop frames, it also shows a foreground marker window and verifies OCR indexing/query search plus Timeline frame metadata, visible scrubber clicks, and arrow-key frame stepping; hosted runners without frames self-skip those capture-dependent assertions. || `windows-system-integration.spec.ts` | Windows-only. Verifies isolated data dir, native DLL/WebView2 runtime, display/DPI topology, localhost-only API binding, process health, Defender visibility, audio service/device health, concurrent local API load, focus churn, rapid Home-window routing, Home close/reopen backend survival, and absence of Windows crash-report events during the suite |-| `windows-user-journey.spec.ts` | Windows-only. Drives Home search button -> floating Search input -> Timeline -> Home, opens Recording settings to reveal Windows audio troubleshooting controls, starts/stops a manual Meeting note through the visible UI, opens the Shortcuts editor and cancels an open-search hotkey capture, toggles the Display shortcut-reminder overlay, clicks its visible Search, Chat, and Hide controls, opens notification history from the bell and manages notification preferences, previews the Storage retention safety confirmation without applying destructive cleanup, and verifies the Privacy API-auth restart warning without restarting |+| `windows-user-journey.spec.ts` | Windows-only. Drives Home search button -> floating Search input -> Timeline -> Home, opens Recording settings to reveal Windows audio troubleshooting controls, starts/stops a manual Meeting note through the visible UI, opens the Shortcuts editor and cancels an open-search hotkey capture, toggles the Display shortcut-reminder overlay, clicks its visible Search, Chat, and Hide controls, opens notification history from the bell, manages notification preferences, dismisses a notification from the visible bell UI, previews the Storage retention safety confirmation without applying destructive cleanup, and verifies the Privacy API-auth restart warning without restarting || `hd-recording-pipeline.spec.ts` | macOS opt-in. Starts an HD timer session via `/capture/hd/start`; asserts the controller goes active, a non-empty `hd_*.mp4` chunk is written, and OCR keeps indexing during HD (high-fps + indexing decouple, #3699/#3707) || `settings-sections.spec.ts` | Navigates General → Recording → AI → Speakers settings; verifies content and no crash || `audio-fallback.spec.ts` | macOS opt-in spec for the Screenpipe Cloud → local Whisper fallback alert and `/notify` history |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 bc014f1d0..91f39bf8c 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@@ -744,6 +744,37 @@ describe("Windows user journey", function () {const settingsScreenshot = await saveScreenshot("windows-user-journey-notification-settings");expect(existsSync(settingsScreenshot)).toBe(true);++ const backToApp = await $('//button[.//span[normalize-space(.)="Back to app"]]');+ await backToApp.waitForDisplayed({ timeout: t(10_000) });+ await backToApp.click();++ const homeSection = await $('[data-testid="section-home"]');+ await homeSection.waitForExist({ timeout: t(20_000) });++ const reopenedBell = await $(bellSelector);+ await reopenedBell.waitForDisplayed({ timeout: t(20_000) });+ await reopenedBell.click();++ const reopenedItem = await $(itemSelector);+ await reopenedItem.waitForDisplayed({ timeout: t(20_000) });+ await reopenedItem.moveTo();++ const dismissButton = await $(`[data-testid="notification-bell-dismiss-${notificationId}"]`);+ await dismissButton.waitForDisplayed({ timeout: t(10_000) });+ await dismissButton.click();++ await browser.waitUntil(+ async () => !(await $(itemSelector).isExisting().catch(() => false)),+ {+ timeout: t(10_000),+ interval: 250,+ timeoutMsg: "Notification bell row stayed visible after clicking dismiss",+ },+ );++ const dismissedScreenshot = await saveScreenshot("windows-user-journey-notification-dismissed");+ expect(existsSync(dismissedScreenshot)).toBe(true);} finally {if (initialDisplayChanges !== null) {await setSwitchChecked(displayChangesSelector, initialDisplayChanges).catch(() => {});