mirror of
https://github.com/penpot/penpot.git
synced 2025-07-09 23:57:17 +02:00
🔧 Add vertical alignment for text shapes
This commit is contained in:
parent
0010d61ae2
commit
134fb1ab4c
8 changed files with 2436 additions and 1 deletions
|
@ -162,3 +162,16 @@ test("Renders a file with multiple emoji", async ({ page }) => {
|
|||
await workspace.waitForFirstRender();
|
||||
await expect(workspace.canvas).toHaveScreenshot();
|
||||
});
|
||||
|
||||
test("Renders a file with texts with different alignments", async ({ page }) => {
|
||||
const workspace = new WasmWorkspacePage(page);
|
||||
await workspace.setupEmptyFile();
|
||||
await workspace.mockGetFile("render-wasm/get-file-text-align.json");
|
||||
|
||||
await workspace.goToWorkspace({
|
||||
id: "692f368b-63ca-8141-8006-62925640b827",
|
||||
pageId: "692f368b-63ca-8141-8006-62925640b828",
|
||||
});
|
||||
await workspace.waitForFirstRender();
|
||||
await expect(workspace.canvas).toHaveScreenshot();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue