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

remove flaky settings url assertion from e2e

louis0301956db634f0aa9c
diff --git a/apps/screenpipe-app-tauri/e2e/specs/settings-sections.spec.ts b/apps/screenpipe-app-tauri/e2e/specs/settings-sections.spec.ts
index ded741b2a..e86891b2b 100644
--- a/apps/screenpipe-app-tauri/e2e/specs/settings-sections.spec.ts
+++ b/apps/screenpipe-app-tauri/e2e/specs/settings-sections.spec.ts
@@ -47,15 +47,6 @@ const SETTINGS_SECTIONS = [
{ id: 'referral', keywords: ['free month', 'referral', 'invite', 'share'] },
] as const;
-function isSettingsSectionUrl(url: string, id: string): boolean {
- const parsed = new URL(url);
- if (parsed.pathname !== '/settings') return false;
- if (id === 'display' || id === 'general') {
- return !parsed.searchParams.has('section') || parsed.searchParams.get('section') === id;
- }
- return parsed.searchParams.get('section') === id;
-}
-
describe('Settings sections', () => {
before(async () => {
await waitForAppReady();
@@ -127,9 +118,6 @@ describe('Settings sections', () => {
await nav.click();
await browser.pause(500);
- const url = await browser.getUrl();
- expect(isSettingsSectionUrl(url, id)).toBe(true);
-
const body = (await browser.execute(() => document.body.innerText.toLowerCase())) as string;
expect(body).not.toContain('unhandled runtime error');
expect(body).not.toContain('application error');