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): assert mounted memory graph canvas\n\n
Steven Enamakel5ab412cf4347
diff --git a/app/test/e2e/specs/insights-dashboard.spec.ts b/app/test/e2e/specs/insights-dashboard.spec.tsindex e94e24db60..2f631cb39b 100644--- a/app/test/e2e/specs/insights-dashboard.spec.ts+++ b/app/test/e2e/specs/insights-dashboard.spec.ts@@ -66,9 +66,12 @@ describe('Insights dashboard smoke', () => {it('renders the memory graph surface (11.2.3)', async () => {stepLog('checking for memory graph testid');- // Pixi reports readiness after the force simulation cools. Shared CI- // runners can render below 60 fps, so allow the same cold-start headroom- // used by the surrounding Brain navigation waits.+ // The canvas is the graph surface. Its `data-render-ready` marker is+ // intentionally emitted only after Pixi's force simulation cools; a+ // throttled WebDriver renderer can leave that simulation running after+ // the visible canvas has mounted. Requiring the marker here turned this+ // route-mount smoke test into a timing assertion while the actual graph+ // (including its nodes) was already rendered.const deadline = Date.now() + 30_000;let present = false;while (Date.now() < deadline) {@@ -79,11 +82,7 @@ describe('Insights dashboard smoke', () => {) {return true;}- return (- document.querySelector(- '[data-testid="memory-graph-canvas"][data-render-ready="true"] canvas'- ) !== null- );+ return document.querySelector('[data-testid="memory-graph-canvas"] canvas') !== null;})) as boolean;if (present) break;await browser.pause(500);