mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
💄 Fix JS files formatting issues
This commit is contained in:
@@ -124,11 +124,13 @@ test("Renders shapes with exif rotated images fills and strokes", async ({
|
||||
"27270c45-35b4-80f3-8006-63a39cf292e7",
|
||||
"27270c45-35b4-80f3-8006-63a41d147866",
|
||||
"27270c45-35b4-80f3-8006-63a43dc4984b",
|
||||
"27270c45-35b4-80f3-8006-63a3ea82557f"
|
||||
"27270c45-35b4-80f3-8006-63a3ea82557f",
|
||||
],
|
||||
"render-wasm/assets/landscape.jpg",
|
||||
);
|
||||
await workspace.mockGetFile("render-wasm/get-file-shapes-exif-rotated-fills.json");
|
||||
await workspace.mockGetFile(
|
||||
"render-wasm/get-file-shapes-exif-rotated-fills.json",
|
||||
);
|
||||
|
||||
await workspace.goToWorkspace({
|
||||
id: "27270c45-35b4-80f3-8006-63a3912bdce8",
|
||||
@@ -139,9 +141,7 @@ test("Renders shapes with exif rotated images fills and strokes", async ({
|
||||
await expect(workspace.canvas).toHaveScreenshot();
|
||||
});
|
||||
|
||||
test("Updates canvas background", async ({
|
||||
page,
|
||||
}) => {
|
||||
test("Updates canvas background", async ({ page }) => {
|
||||
const workspace = new WasmWorkspacePage(page);
|
||||
await workspace.setupEmptyFile();
|
||||
await workspace.mockGetFile("render-wasm/get-file-text.json");
|
||||
@@ -152,7 +152,9 @@ test("Updates canvas background", async ({
|
||||
});
|
||||
await workspace.waitForFirstRender({ hideUI: false });
|
||||
|
||||
const canvasBackgroundInput = workspace.page.getByRole("textbox", { name: 'Color' });
|
||||
const canvasBackgroundInput = workspace.page.getByRole("textbox", {
|
||||
name: "Color",
|
||||
});
|
||||
await canvasBackgroundInput.fill("FABADA");
|
||||
await workspace.page.keyboard.press("Enter");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user