mirror of
https://github.com/penpot/penpot.git
synced 2026-09-10 14:09:17 +00:00
🔧 Use config flag for variants tests
This commit is contained in:
parent
4d05827fa9
commit
f6d0414449
@ -1,26 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"~:features": {
|
|
||||||
"~#set": [
|
|
||||||
"variants/v1",
|
|
||||||
"layout/grid",
|
|
||||||
"styles/v2",
|
|
||||||
"fdata/pointer-map",
|
|
||||||
"fdata/objects-map",
|
|
||||||
"components/v2",
|
|
||||||
"fdata/shape-data-type"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"~:permissions": {
|
|
||||||
"~:type": "~:membership",
|
|
||||||
"~:is-owner": true,
|
|
||||||
"~:is-admin": true,
|
|
||||||
"~:can-edit": true
|
|
||||||
},
|
|
||||||
"~:name": "Default",
|
|
||||||
"~:modified-at": "~m1713533116375",
|
|
||||||
"~:id": "~uc7ce0794-0992-8105-8004-38e630f7920a",
|
|
||||||
"~:created-at": "~m1713533116375",
|
|
||||||
"~:is-default": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@ -1,5 +1,5 @@
|
|||||||
import { test, expect } from "@playwright/test";
|
import { test, expect } from "@playwright/test";
|
||||||
import { WasmWorkspacePage } from "../pages/WasmWorkspacePage";
|
import { WasmWorkspacePage } from "../pages/WasmWorkspacePage";
|
||||||
import { BaseWebSocketPage } from "../pages/BaseWebSocketPage";
|
import { BaseWebSocketPage } from "../pages/BaseWebSocketPage";
|
||||||
import { Clipboard } from "../../helpers/Clipboard";
|
import { Clipboard } from "../../helpers/Clipboard";
|
||||||
|
|
||||||
@ -7,7 +7,7 @@ test.beforeEach(async ({ page, context }) => {
|
|||||||
await Clipboard.enable(context, Clipboard.Permission.ALL);
|
await Clipboard.enable(context, Clipboard.Permission.ALL);
|
||||||
|
|
||||||
await WasmWorkspacePage.init(page);
|
await WasmWorkspacePage.init(page);
|
||||||
await BaseWebSocketPage.mockRPC(page, "get-teams", "get-teams-variants.json");
|
await WasmWorkspacePage.mockConfigFlags(page, ["enable-feature-variants"]);
|
||||||
});
|
});
|
||||||
|
|
||||||
test.afterEach(async ({ context }) => {
|
test.afterEach(async ({ context }) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user