🐛 Fix children blur rendering

This commit is contained in:
Elena Torro
2025-11-04 12:20:47 +01:00
parent 69bbdad570
commit 564ad8adba
5 changed files with 242 additions and 6 deletions

View File

@@ -228,3 +228,19 @@ test("Renders a file with paths and svg attrs", async ({
await expect(workspace.canvas).toHaveScreenshot();
});
test("Renders a file with nested frames with inherited blur", async ({
page,
}) => {
const workspace = new WasmWorkspacePage(page);
await workspace.setupEmptyFile();
await workspace.mockGetFile("render-wasm/get-file-frame-with-nested-blur.json");
await workspace.goToWorkspace({
id: "58c5cc60-d124-81bd-8007-0ee4e5030609",
pageId: "58c5cc60-d124-81bd-8007-0ee4e503060a",
});
await workspace.waitForFirstRender();
await expect(workspace.canvas).toHaveScreenshot();
});