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): open chat from Windows shortcut reminder
Louis Beaumont42e403738ba7
diff --git a/apps/screenpipe-app-tauri/e2e/README.md b/apps/screenpipe-app-tauri/e2e/README.mdindex 565680b64..d94810707 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 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 and manages notification preferences, 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 6062e255f..bc014f1d0 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@@ -13,7 +13,7 @@import { existsSync } from "node:fs";import { saveScreenshot } from "../helpers/screenshot-utils.js";import { openHomeWindow, waitForAppReady, t } from "../helpers/test-utils.js";-import { closeWindow, invokeOrThrow, waitForWindowHandle } from "../helpers/tauri.js";+import { closeWindow, invokeOrThrow, waitForWindowHandle, waitForWindowUrl } from "../helpers/tauri.js";const isWindows = process.platform === "win32";const SEARCH_QUERY = "screenpipe windows ux journey";@@ -295,6 +295,14 @@ async function waitForSearchInputFocus(timeoutMs = t(15_000)): Promise<void> {);}+async function expectChatComposerAcceptsTyping(message: string): Promise<void> {+ const composer = await $("form textarea");+ await composer.waitForDisplayed({ timeout: t(20_000) });+ await composer.click();+ await composer.setValue(message);+ expect(await composer.getValue()).toContain(message);+}+async function expectCurrentSettingsSection(section: string, timeoutMs = t(15_000)): Promise<void> {await browser.waitUntil(async () => {@@ -599,6 +607,24 @@ describe("Windows user journey", function () {await closeWindow({ Search: { query: null } }).catch(() => {});}+ await browser.switchToWindow("shortcut-reminder");+ const openChatButton = await $('button[title="Open chat"]');+ await openChatButton.waitForDisplayed({ timeout: t(10_000) });+ await openChatButton.click();++ await waitForWindowHandle("chat", t(20_000));+ await browser.switchToWindow("chat");+ await waitForWindowUrl("/chat", undefined, t(20_000));+ await expectChatComposerAcceptsTyping(`shortcut reminder chat ${Date.now()}`);++ const chatFromReminderScreenshot = await saveScreenshot("windows-user-journey-shortcut-reminder-chat");+ expect(existsSync(chatFromReminderScreenshot)).toBe(true);++ if ((await browser.getWindowHandles()).includes("home")) {+ await browser.switchToWindow("home").catch(() => {});+ await closeWindow("Chat").catch(() => {});+ }+await browser.switchToWindow("shortcut-reminder");const hideReminderButton = await $('button[title="Hide shortcut reminder"]');await hideReminderButton.waitForDisplayed({ timeout: t(10_000) });