chore: checkpoint web Blender migration source, tools and docs
Accumulated uncommitted work: GHOST Web backend, WebGL/GPU web layer, web workflow engine and protocol, tooling, docs and task records. Large generated evidence, user-testing archives, build snapshots and imported test assets remain untracked. Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
18
tools/web/.probe63.mjs
Normal file
18
tools/web/.probe63.mjs
Normal file
@@ -0,0 +1,18 @@
|
||||
import { createRequire } from "node:module";
|
||||
const { chromium } = createRequire(import.meta.url)("/home/mes123456/workinf_Blender_Wasm/web/node_modules/playwright");
|
||||
const browser = await chromium.launch({ headless: true, executablePath: "/usr/bin/google-chrome-stable",
|
||||
args: ["--no-sandbox","--use-gl=swiftshader","--enable-unsafe-swiftshader","--enable-unsafe-webgpu","--enable-dawn-features=allow_unsafe_apis","--use-webgpu-adapter=swiftshader"] });
|
||||
const ctx = await browser.newContext({ viewport: { width: 1440, height: 900 } });
|
||||
const page = await ctx.newPage();
|
||||
await page.goto("http://127.0.0.1:5412/?ui=web", { waitUntil: "domcontentloaded" });
|
||||
await page.waitForFunction(() => document.body.innerText.includes("WASM ABI: ready"), undefined, { timeout: 120000 });
|
||||
await page.getByTestId("blend-file-input").setInputFiles("/home/mes123456/workinf_Blender_Wasm/tests/files/web/hierarchy_simplify_combined.blend");
|
||||
await page.waitForFunction(() => /SceneIR r\d+/.test(document.querySelector('[data-testid="engine-status"]')?.textContent ?? ""), undefined, { timeout: 120000 });
|
||||
await page.waitForTimeout(3500);
|
||||
console.log("STATUS", JSON.stringify(await page.evaluate(() => ({
|
||||
status: document.querySelector('[data-testid="editor-workflow-status"]')?.textContent,
|
||||
context: document.querySelector('[data-testid="editor-workflow-context"]')?.textContent,
|
||||
count: document.querySelector('[data-testid="editor-workflow-workspace-count"]')?.textContent,
|
||||
mainStatus: document.querySelector('main')?.getAttribute('data-editor-workflow-status'),
|
||||
}))));
|
||||
await browser.close();
|
||||
Reference in New Issue
Block a user