mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🔥 Remove binary fills flag (#7462)
* 🐛 Add missing IEmptyableCollection protocol impl for wasm Shape * 🔥 Remove frontend-binary-fills flag * ✨ Fix fill-limit integration tests --------- Co-authored-by: Belén Albeza <belen@hey.com>
This commit is contained in:
@@ -93,7 +93,9 @@ test("Create a LINEAR gradient", async ({ page }) => {
|
||||
await expect(inputOpacityGlobal).toHaveValue("50");
|
||||
await expect(inputOpacityGlobal).toBeVisible();
|
||||
|
||||
await expect(workspacePage.page.getByText("Linear gradient").nth(1)).toBeVisible();
|
||||
await expect(
|
||||
workspacePage.page.getByText("Linear gradient").nth(1),
|
||||
).toBeVisible();
|
||||
});
|
||||
|
||||
test("Create a RADIAL gradient", async ({ page }) => {
|
||||
@@ -175,12 +177,14 @@ test("Create a RADIAL gradient", async ({ page }) => {
|
||||
await expect(inputOpacityGlobal).toHaveValue("50");
|
||||
await expect(inputOpacityGlobal).toBeVisible();
|
||||
|
||||
await expect(workspacePage.page.getByText("Radial gradient").nth(1)).toBeVisible();
|
||||
await expect(
|
||||
workspacePage.page.getByText("Radial gradient").nth(1),
|
||||
).toBeVisible();
|
||||
});
|
||||
|
||||
test("Gradient stops limit", async ({ page }) => {
|
||||
const workspacePage = new WorkspacePage(page);
|
||||
await workspacePage.mockConfigFlags(["enable-frontend-binary-fills"]);
|
||||
await workspacePage.mockConfigFlags(["enable-feature-render-wasm"]);
|
||||
await workspacePage.setupEmptyFile(page);
|
||||
|
||||
await workspacePage.mockRPC(
|
||||
|
||||
@@ -71,7 +71,7 @@ test.describe("Shape attributes", () => {
|
||||
page,
|
||||
}) => {
|
||||
const workspace = new WorkspacePage(page);
|
||||
await workspace.mockConfigFlags(["enable-frontend-binary-fills"]);
|
||||
await workspace.mockConfigFlags(["enable-feature-render-wasm"]);
|
||||
await workspace.setupEmptyFile();
|
||||
await workspace.mockRPC(/get\-file\?/, "design/get-file-fills-limit.json");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user