Files
workinf_Blender_Wasm/web/tests/e2e/library-link-chromium.spec.ts
mes123456 380cbed4ff
Some checks are pending
M6 deployable RC / quick (push) Waiting to run
M6 deployable RC / chromium (push) Blocked by required conditions
M6 deployable RC / release (push) Blocked by required conditions
Checkpoint web parity through Chromium input tasks
2026-08-19 10:39:03 -04:00

20 lines
776 B
TypeScript

import { expect, test } from "@playwright/test";
test("M12-03N runs the linked mutation gate in an independent Chromium lane", async ({ page }) => {
await page.goto("/");
const result = await page.evaluate(async () => {
const linked = await import("/src/library-link-chromium.ts");
const gate = linked.gateLinkedDataMutation({
schemaVersion: 1,
operation: "MESH_GEOMETRY",
dataBlockId: "Mesh/M12 Link Mesh",
baseRevision: 7,
owner: "SOURCE_LIBRARY",
linkedLibrary: true,
readOnly: true,
}, 7);
return { status: gate.status, code: gate.issues[0]?.code, recoverable: gate.issues[0]?.recoverable };
});
expect(result).toEqual({ status: "BLOCKED", code: "LINKED_DATA_MUTATION_BLOCKED", recoverable: false });
});