Skip to content

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

test(app): normalize Canvas E2E path on Windows

Louis Beaumont106a47c0f5a5
diff --git a/apps/screenpipe-app-tauri/e2e/specs/brain-overview.spec.ts b/apps/screenpipe-app-tauri/e2e/specs/brain-overview.spec.ts
index 1a9cf6d2c..95409b579 100644
--- a/apps/screenpipe-app-tauri/e2e/specs/brain-overview.spec.ts
+++ b/apps/screenpipe-app-tauri/e2e/specs/brain-overview.spec.ts
@@ -598,7 +598,7 @@ describe("Brain Live Views", function () {
await waitForTestId("section-brain", 15_000);
await selectDashboard("process-map");
const chatsDir = await invokeOrThrow<string>("get_chats_dir");
- expect(chatsDir).toContain(".e2e/chats");
+ expect(chatsDir.replaceAll("\\", "/")).toContain(".e2e/chats");
const prompt = await waitForTestId("live-view-ai-prompt", 10_000);
await prompt.click();
const selectedModel = await $(