Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(test): update window background source contract

vastsab4b87d2a58a7
diff --git a/apps/desktop/test/macos-sidebar-vibrancy.test.mjs b/apps/desktop/test/macos-sidebar-vibrancy.test.mjs
index 836f3b438..4b46f7ece 100644
--- a/apps/desktop/test/macos-sidebar-vibrancy.test.mjs
+++ b/apps/desktop/test/macos-sidebar-vibrancy.test.mjs
@@ -44,11 +44,11 @@ test("macOS main window enables native sidebar vibrancy only in its platform bra
);
// The platform helper receives the built-in fallback selected from the
- // native theme. Windows paints it inside the rounded content surface;
- // Linux keeps its native window background behavior.
+ // native theme. Windows 11 keeps its DWM surface opaque; earlier Windows
+ // builds and Linux retain their existing background behavior.
assert.match(
mainWindowBlock,
- /\.\.\.mainWindowBackgroundOptions\(process\.platform, initialWindowBackground\)/,
+ /\.\.\.mainWindowBackgroundOptions\(\s*process\.platform,\s*initialWindowBackground,\s*windows11NativeCorners,/,
);
assert.match(
windowSource,