mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix big blur rendering for wasm render
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 274 KiB |
Reference in New Issue
Block a user