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): skip hidden-background-nav assertion on Windows (WebView2 reveals to run)
Louis Beaumont6155f9e52aa3
diff --git a/apps/screenpipe-app-tauri/e2e/specs/zz-owned-browser-background-nav.spec.ts b/apps/screenpipe-app-tauri/e2e/specs/zz-owned-browser-background-nav.spec.tsindex 76290c722..cfa37a142 100644--- a/apps/screenpipe-app-tauri/e2e/specs/zz-owned-browser-background-nav.spec.ts+++ b/apps/screenpipe-app-tauri/e2e/specs/zz-owned-browser-background-nav.spec.ts@@ -70,6 +70,16 @@ import { authHeaders, getLocalApiConfig } from "../helpers/api-utils.js";const canDriveOwnedBrowser = process.platform !== "linux";+// A background eval/navigate must keep the owned browser HIDDEN. That holds on+// macOS (WKWebView runs JS while hidden) but NOT on Windows: a hidden WebView2+// controller no-ops the script, so `show_native_for_background_eval`+// (owned_browser.rs) reveals the webview to run it — making "stays hidden during+// a background navigate" structurally unachievable on Windows (the visibility+// assert flips to true). Skip the hidden-visibility guarantee on Windows; Linux+// already skips owned-browser entirely. Follow-up for the #4262 owner: an+// off-screen host that runs JS on WebView2 would restore this on Windows.+const canHideBackgroundDrive = canDriveOwnedBrowser && process.platform !== "win32";+// ---------------------------------------------------------------------------// Per-chat ownership regression// ---------------------------------------------------------------------------@@ -344,7 +354,7 @@ describe("Owned browser — per-chat navigation ownership", function () {await openHomeWindow().catch(() => {});});- (canDriveOwnedBrowser ? it : it.skip)(+ (canHideBackgroundDrive ? it : it.skip)("does not reveal a background pipe's navigation in a chat that did not open it",async () => {// 1. Bind the home chat layer to OWN_CHAT and prove it via