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(memory): reapply the Memory route when the shell restores chat
M3gA-Mind2454ef2721cd
diff --git a/app/test/playwright/specs/memory-v2.spec.ts b/app/test/playwright/specs/memory-v2.spec.tsindex d29ea5ff22..7fcbb65d4b 100644--- a/app/test/playwright/specs/memory-v2.spec.ts+++ b/app/test/playwright/specs/memory-v2.spec.ts@@ -325,8 +325,15 @@ async function installMemoryFake(page: Page, opts: FakeOptions): Promise<MemoryF}async function openMemory(page: Page, query = '') {- await page.goto(`${MEMORY_URL}${query}`);+ const url = `${MEMORY_URL}${query}`;+ await page.goto(url);await waitForAppReady(page);+ // The shell can restore its persisted chat route once it is ready (the race+ // bootAuthenticatedPage also handles); reapply the Memory route if it did.+ if (!(await page.evaluate(() => window.location.hash)).startsWith('#/connections')) {+ await page.goto(url);+ await waitForAppReady(page);+ }await dismissWalkthroughIfPresent(page);await expect(page.getByTestId('memory-page')).toBeVisible({ timeout: 30_000 });}