Add full source parity validation workflow
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-09-07 16:45:07 +08:00
parent a3588d41a3
commit f68c6c9678
59 changed files with 4556 additions and 842 deletions

View File

@@ -80,7 +80,13 @@ test("M7-04 destroys isolated native open resources before reporting cancellatio
await expect(page.getByText("BasicCube", { exact: true })).toBeVisible();
const previousStats = await page.getByTestId("scene-stats").textContent();
await page.getByTestId("blend-file-input").setInputFiles(largeBlend);
const nativeCancellationBlend = Buffer.alloc(40 * 1024 * 1024);
fs.readFileSync(largeBlend).copy(nativeCancellationBlend);
await page.getByTestId("blend-file-input").setInputFiles({
name: "native-cancellation.blend",
mimeType: "application/octet-stream",
buffer: nativeCancellationBlend,
});
const cancellation = await page.waitForFunction(() => {
const progress = document.querySelector<HTMLElement>('[data-testid="open-progress"]');
const stage = progress?.dataset.stage;