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>
27 lines
1.1 KiB
TypeScript
27 lines
1.1 KiB
TypeScript
import fs from "node:fs";
|
|
import path from "node:path";
|
|
import { test } from "@playwright/test";
|
|
|
|
const root = path.resolve(import.meta.dirname, "../../..");
|
|
const cases: Array<[string, string]> = [
|
|
["raw-modern", "blender-5.2.0/tests/files/sequence_editing/effects/blends.blend"],
|
|
["raw-older-meta", "blender-5.2.0/tests/files/sequence_editing/vse_load_meta_stack.blend"],
|
|
["gzip-v257", "blender-5.2.0/tests/files/sequence_editing/sequence.blend"],
|
|
];
|
|
|
|
test("which blend variants open", async ({ page }) => {
|
|
test.setTimeout(300_000);
|
|
const results: Record<string, unknown> = {};
|
|
for (const [label, rel] of cases) {
|
|
await page.goto("/");
|
|
await page.waitForTimeout(10000);
|
|
await page.getByTestId("blend-file-input").setInputFiles(path.join(root, rel));
|
|
await page.waitForTimeout(25000);
|
|
results[label] = await page.evaluate(() => ({
|
|
status: document.querySelector('[data-testid="engine-status"]')?.textContent ?? "",
|
|
projectId: (document.querySelector("main.blender-app") as HTMLElement | null)?.dataset.projectId ?? "",
|
|
}));
|
|
}
|
|
fs.writeFileSync("/tmp/open-control.json", JSON.stringify(results, null, 2));
|
|
});
|