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: relax e2e restart smoke timeouts

Louis Beaumont84f7dcb6771b
diff --git a/apps/screenpipe-app-tauri/e2e/specs/privacy-api-auth-enforcement.spec.ts b/apps/screenpipe-app-tauri/e2e/specs/privacy-api-auth-enforcement.spec.ts
index 0e33e6e65..4c4fa5a87 100644
--- a/apps/screenpipe-app-tauri/e2e/specs/privacy-api-auth-enforcement.spec.ts
+++ b/apps/screenpipe-app-tauri/e2e/specs/privacy-api-auth-enforcement.spec.ts
@@ -156,7 +156,7 @@ async function expectConnectionsAuthBehavior(port: number, key: string | null, a
}
describe("Privacy: API auth enforcement", function () {
- this.timeout(180_000);
+ this.timeout(t(300_000));
let initialUiChecked: boolean | null = null;
let initialPort = 3030;
diff --git a/apps/screenpipe-app-tauri/e2e/specs/timeline.spec.ts b/apps/screenpipe-app-tauri/e2e/specs/timeline.spec.ts
index 70bfb4d34..1590af24e 100644
--- a/apps/screenpipe-app-tauri/e2e/specs/timeline.spec.ts
+++ b/apps/screenpipe-app-tauri/e2e/specs/timeline.spec.ts
@@ -48,6 +48,7 @@ describe("Timeline", function () {
return (
bodyText.includes("screen recording is off") ||
bodyText.includes("recording... timeline will appear soon") ||
+ bodyText.includes("loading timeline") ||
(await $('[data-testid="timeline-slider"]').isExisting())
);
},