🐛 Fix shadows order

This commit is contained in:
Elena Torro
2025-10-02 15:30:15 +02:00
parent 6e82b0f1ba
commit 7e852cb3ac
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,
}) => {