Merge pull request #7428 from penpot/elenatorro-fix-shadows-order

🐛 Fix shadows order
This commit is contained in:
Aitor Moreno
2025-10-02 17:16:58 +02:00
committed by GitHub
4 changed files with 150 additions and 2 deletions

View File

@@ -281,6 +281,24 @@ test("Renders a file with different text shadows combinations", async ({
await expect(workspace.canvas).toHaveScreenshot();
});
test("Renders a file with multiple text shadows in order", async ({
page,
}) => {
const workspace = new WasmWorkspacePage(page);
await workspace.setupEmptyFile();
await workspace.mockGetFile(
"render-wasm/get-file-text-shadows-order.json",
);
await workspace.goToWorkspace({
id: "48ffa82f-6950-81b5-8006-e49a2a39657f",
pageId: "48ffa82f-6950-81b5-8006-e49a2a396580",
});
await workspace.waitForFirstRender();
await expect(workspace.canvas).toHaveScreenshot();
});
test("Renders a file with text in frames and different strokes, shadows, and blurs", async ({
page,
}) => {