Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(memory): add playwright coverage for memory v2

Steven Enamakela549c0a64677
diff --git a/app/test/playwright/specs/memory-v2.spec.ts b/app/test/playwright/specs/memory-v2.spec.ts
index 62a6942461..1ec5237c0e 100644
--- a/app/test/playwright/specs/memory-v2.spec.ts
+++ b/app/test/playwright/specs/memory-v2.spec.ts
@@ -533,6 +533,11 @@ test.describe('Memory v2 — engine active', () => {
page.getByTestId('memory-import-running').or(page.getByTestId('memory-import-done'))
).toBeVisible();
await expect(page.getByTestId('memory-import-done')).toBeVisible({ timeout: 15_000 });
+
+ // The import lives on Migration only; other chips carry no banner.
+ await page.getByTestId('brain-tab-ask').click();
+ await expect(page.getByTestId('memory-ask-tab')).toBeVisible();
+ await expect(page.getByTestId('memory-import-banner')).toHaveCount(0);
});
test('a finished import retries the items it could not store', async ({ page }) => {