The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(e2e): add settings navigation and locale coverage
Steven Enamakelbeed25e64d43
diff --git a/app/test/e2e/specs/japanese-locale.browser.ts b/app/test/e2e/specs/japanese-locale.browser.tsindex dff5ca5653..de3548c3a7 100644--- a/app/test/e2e/specs/japanese-locale.browser.ts+++ b/app/test/e2e/specs/japanese-locale.browser.ts@@ -92,14 +92,18 @@ test.describe('Japanese UI locale', () => {logs: [],},'openhuman.memory_engines_list': { result: { engines: [] }, logs: [] },- 'openhuman.memory_explore': {+ 'openhuman.memory_sources_list': {result: {- facet: 'kind',- buckets: [{ value: 'document', count: 7 }],- total: 7,- missing: 0,- more_buckets: 0,- truncated: false,+ sources: [+ {+ id: 'src-1',+ kind: 'folder',+ target: '/Users/me/notes',+ label: 'Notes',+ status: 'idle',+ items: 7,+ },+ ],},logs: [],},@@ -137,8 +141,8 @@ test.describe('Japanese UI locale', () => {await settings(page, 'pw-japanese-interpolation');await browserElements(page).selectLanguage('Language', 'ja');await expect.poll(() => persistedBrowserLocale(page)).toBe('ja');- await page.goto('/#/connections?tab=brain&brain=explorer');- const count = browserElements(page).text('この場所の項目: 7件');+ await page.goto('/#/connections?tab=brain&brain=brain');+ const count = browserElements(page).text('7件 · 未同期');await expect(count).toBeVisible();await count.scrollIntoViewIfNeeded();await expect(count).toBeInViewport();diff --git a/app/test/e2e/specs/navigation-settings-panels.spec.ts b/app/test/e2e/specs/navigation-settings-panels.spec.tsindex 2a0fde179a..0bff1a4981 100644--- a/app/test/e2e/specs/navigation-settings-panels.spec.ts+++ b/app/test/e2e/specs/navigation-settings-panels.spec.ts@@ -52,15 +52,15 @@ const PANELS: PanelCheck[] = [},{// N2.3 — the v1 memory data panel is gone; the slug redirects to the- // Memory page's Brain chip (/connections?tab=brain&brain=brain).+ // Memory page's Files chip (/connections?tab=brain&brain=brain).hash: '/settings/memory-data',- markers: ['Documents', 'Memory', 'Engine'],+ markers: ['Files', 'Memory', 'Provider'],},{// N2.4 — intelligence moved into the Memory page (the legacy /brain and// /settings/intelligence routes redirect to /connections?tab=brain).hash: '/brain',- markers: ['Memory', 'Engine', 'Ask'],+ markers: ['Memory', 'Provider', 'Conversations'],},{// N2.5 — developer optionsdiff --git a/app/test/e2e/specs/navigation-smoothness.spec.ts b/app/test/e2e/specs/navigation-smoothness.spec.tsindex 3b04040d16..f908075806 100644--- a/app/test/e2e/specs/navigation-smoothness.spec.ts+++ b/app/test/e2e/specs/navigation-smoothness.spec.ts@@ -54,9 +54,8 @@ const ROUTES: RouteCheck[] = [markers: ['Notifications', 'Alerts', 'Notification', 'No notifications'],},{ hash: '/settings', markers: ['Settings', 'Account', 'Billing', 'Advanced'] },- // Memory page (Connections → Memory, v2). Chips: Engine, Ask, Learnings,- // Conversations, Documents, Context.- { hash: '/connections?tab=brain', markers: ['Engine', 'Ask', 'Documents', 'Memory'] },+ // Memory page (Connections → Memory, v2). Chips: Provider, Conversations, Files.+ { hash: '/connections?tab=brain', markers: ['Provider', 'Conversations', 'Files', 'Memory'] },{hash: '/home',markers: [diff --git a/app/test/e2e/specs/user-journey-settings-round-trip.spec.ts b/app/test/e2e/specs/user-journey-settings-round-trip.spec.tsindex 4265d4608a..e22372da5e 100644--- a/app/test/e2e/specs/user-journey-settings-round-trip.spec.ts+++ b/app/test/e2e/specs/user-journey-settings-round-trip.spec.ts@@ -92,7 +92,7 @@ describe('User journey — settings round-trip', () => {it('/settings/memory-data — redirects to the Memory page within 10s', async () => {// The v1 memory data panel is gone; the slug redirects to the Memory- // page's Brain chip (/connections?tab=brain&brain=brain).+ // page's Files chip (/connections?tab=brain&brain=brain).console.log(`${LOG_PREFIX} Navigating to /settings/memory-data`);await navigateViaHash('/settings/memory-data');await waitForPanelLoad('/settings/memory-data');diff --git a/app/test/playwright/specs/navigation-settings-panels.spec.ts b/app/test/playwright/specs/navigation-settings-panels.spec.tsindex 1b9b95d8a3..872d742bc3 100644--- a/app/test/playwright/specs/navigation-settings-panels.spec.ts+++ b/app/test/playwright/specs/navigation-settings-panels.spec.ts@@ -10,8 +10,8 @@ interface PanelCheck {const panels: PanelCheck[] = [{ hash: '/settings', markers: ['Settings', 'Appearance', 'Privacy'] },// The v1 memory data panel is gone; this slug redirects to the Memory- // page's Brain chip (/connections?tab=brain&brain=brain).- { hash: '/settings/memory-data', markers: ['Documents', 'Memory'] },+ // page's Files chip (/connections?tab=brain&brain=brain).+ { hash: '/settings/memory-data', markers: ['Files', 'Memory'] },{ hash: '/settings/notifications-hub', markers: ['Plan & billing'] },{ hash: '/settings/developer-options', markers: ['Developer', 'Debug', 'Advanced'] },{ hash: '/settings/account', markers: ['Account', 'Plan & billing'] },diff --git a/app/test/playwright/specs/user-journey-settings-round-trip.spec.ts b/app/test/playwright/specs/user-journey-settings-round-trip.spec.tsindex 3f6ef86516..2bd4a85318 100644--- a/app/test/playwright/specs/user-journey-settings-round-trip.spec.ts+++ b/app/test/playwright/specs/user-journey-settings-round-trip.spec.ts@@ -12,8 +12,8 @@ interface PanelCheck {const panels: PanelCheck[] = [{ hash: '/settings', markers: ['Settings', 'Appearance', 'Notifications'] },// The v1 memory data panel is gone; this slug redirects to the Memory- // page's Brain chip (/connections?tab=brain&brain=brain).- { hash: '/settings/memory-data', markers: ['Documents', 'Memory'] },+ // page's Files chip (/connections?tab=brain&brain=brain).+ { hash: '/settings/memory-data', markers: ['Files', 'Memory'] },{ hash: '/settings/developer-options', markers: ['Developer', 'Debug', 'Advanced'] },{ hash: '/settings/account', markers: ['Account', 'Billing'] },// Home folded into the unified chat surface — /home redirects to /chat.