🐛 Fix big blur rendering for wasm render

This commit is contained in:
Alejandro Alonso
2025-08-11 07:35:03 +02:00
parent a702fee3cd
commit 478439f055
14 changed files with 6534 additions and 66 deletions

View File

@@ -161,3 +161,19 @@ test("Updates canvas background", async ({
await expect(workspace.canvas).toHaveScreenshot();
});
test("Renders a file with blurs applied to any kind of shape", async ({
page,
}) => {
const workspace = new WasmWorkspacePage(page);
await workspace.setupEmptyFile();
await workspace.mockGetFile("render-wasm/get-file-blurs.json");
await workspace.goToWorkspace({
id: "aa0a383a-7553-808a-8006-ae1237b52cf9",
pageId: "aa0a383a-7553-808a-8006-ae160ba8bd86",
});
await workspace.waitForFirstRender();
await expect(workspace.canvas).toHaveScreenshot();
});