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:
23
web/tests/e2e/b3-served-module-probe.spec.ts
Normal file
23
web/tests/e2e/b3-served-module-probe.spec.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import fs from "node:fs";
|
||||
import { test } from "@playwright/test";
|
||||
|
||||
test("inspect served editor-workflow module", async ({ page }) => {
|
||||
test.setTimeout(120_000);
|
||||
await page.goto("/");
|
||||
const out = await page.evaluate(async () => {
|
||||
const paths = ["/protocol/editor-workflow.ts", "/src/protocol/editor-workflow.ts", "/@fs/home/mes123456/workinf_Blender_Wasm/web/protocol/editor-workflow.ts"];
|
||||
const results: Record<string, unknown> = {};
|
||||
for (const path of paths) {
|
||||
try {
|
||||
const response = await fetch(path);
|
||||
const text = response.ok ? await response.text() : "";
|
||||
results[path] = { ok: response.ok, status: response.status, hasPhysics: text.includes("PHYSICS"), hasObjectAllow: text.includes("'WORLD', 'OBJECT'") };
|
||||
}
|
||||
catch (error) {
|
||||
results[path] = { error: String(error) };
|
||||
}
|
||||
}
|
||||
return results;
|
||||
});
|
||||
fs.writeFileSync("/tmp/served-module.json", JSON.stringify(out, null, 2));
|
||||
});
|
||||
Reference in New Issue
Block a user