Merge pull request #7737 from penpot/sueralex-fix-shadows-clipping

🐛 Fix shadows clipping
This commit is contained in:
Aitor Moreno
2025-11-12 16:58:06 +01:00
committed by GitHub
4 changed files with 945 additions and 2 deletions

View File

@@ -260,3 +260,19 @@ test("Renders a file with nested frames with inherited blur", async ({
await expect(workspace.canvas).toHaveScreenshot();
});
test("Renders a clipped frame with a large blur drop shadow", async ({
page,
}) => {
const workspace = new WasmWorkspacePage(page);
await workspace.setupEmptyFile();
await workspace.mockGetFile("render-wasm/get-file-large-blur-shadow.json");
await workspace.goToWorkspace({
id: "b4133204-a015-80ed-8007-192a65398b0c",
pageId: "b4133204-a015-80ed-8007-192a65398b0d",
});
await workspace.waitForFirstRender();
await expect(workspace.canvas).toHaveScreenshot();
});