MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / openApp

Function openApp

graph-ui/tools/smoke-w4e.mjs:340–347  ·  view source on GitHub ↗

Die Seite laden und warten, bis Statusleiste und Galaxie stehen.

(page, origin, query = '')

Source from the content-addressed store, hash-verified

338
339/** Die Seite laden und warten, bis Statusleiste und Galaxie stehen. */
340async function openApp(page, origin, query = '') {
341 await page.goto(`${origin}/?project=${PROJECT}${query}`, { waitUntil: 'load' });
342 await page.waitForSelector('[data-testid="atlas-statusbar"]', { timeout: 30000 });
343 await page.waitForSelector('[data-testid="atlas-galaxy"]', { timeout: 30000 });
344 await page.waitForFunction(() => (globalThis.__atlasGalaxy?.nodes ?? 0) > 0, undefined, {
345 timeout: 40000,
346 });
347}
348
349async function main() {
350 const totalStarted = Date.now();

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected