Files
canvas-frontend/qa/audit_geo.mjs
T
shad 0fb5351a3a feat(explainer): FlowMaster Explainer scene from Hindsight + EA2 doctrine
Eight-card explainer covering Business-as-Code philosophy, the five
element types (Flow/Data/View/Rule/Version), the DEFINE/VERSION/DEPLOY/
EXECUTE lifecycle, hubs, work items, EA2 graph storage, and the Pi
agent. Sourced from FlowMaster Element Architecture v2.1 + the EA2
collection/edge contracts recalled from Hindsight today.

New 'What is FlowMaster?' chip on Landing routes here.
2026-06-14 12:54:23 +04:00

17 lines
932 B
JavaScript

import { chromium } from "playwright";
const args = ["--host-resolver-rules=MAP canvas.flow-master.ai 65.21.71.186", "--ignore-certificate-errors"];
const b = await chromium.launch({ headless: true, args });
const p = await (await b.newContext({ viewport: { width: 1440, height: 900 } })).newPage();
await p.goto("https://canvas.flow-master.ai/", { waitUntil: "networkidle" });
await p.waitForTimeout(800);
await p.locator(".persona-chip", { hasText: /Mariana/ }).click();
await p.locator(".dev-login-btn").click();
await p.waitForTimeout(2500);
await p.locator(".hub-chip", { hasText: /Attendance Map/ }).click();
await p.waitForTimeout(3000);
const tile = await p.locator(".leaflet-tile").count();
const markers = await p.locator(".leaflet-marker-icon").count();
const stats = await p.locator(".geo-stat").allTextContents();
console.log(`tiles loaded: ${tile}, markers: ${markers}, stats: ${stats.join(" | ")}`);
await b.close();