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

Function waitForFlow

graph-ui/tools/smoke-w4c.mjs:167–174  ·  view source on GitHub ↗

Warten, bis das Bild wirklich gefuellt ist. Ein leeres Bild ist keine Antwort.

(page)

Source from the content-addressed store, hash-verified

165
166/** Warten, bis das Bild wirklich gefuellt ist. Ein leeres Bild ist keine Antwort. */
167async function waitForFlow(page) {
168 await page.waitForSelector('[data-testid="atlas-flow"]', { timeout: 60000 });
169 await page.waitForFunction(
170 () => Number(document.querySelector('[data-testid="atlas-flow"]')?.getAttribute('data-arrows') ?? '0') > 0,
171 undefined,
172 { timeout: 60000 },
173 );
174}
175
176/**
177 * Den Erklaerer ueber den flow()-Kopf oeffnen.

Callers 1

openFlowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected