feat(workbench): integrate operational workflows and map state

This commit is contained in:
2026-09-24 04:34:46 +08:00
parent 1752b9ef84
commit 436d5500f1
76 changed files with 5081 additions and 1937 deletions
@@ -1,12 +1,13 @@
import { expect, test } from "@playwright/test";
import { mockWorkbenchContext } from "./support/mock-workbench-context";
import { TEST_PROJECT_ID } from "./support/mock-scada-api";
test("uses backend project identity, role and map extent with the existing fallback available", async ({
page
}) => {
await mockWorkbenchContext(page, undefined, {
metadata: {
project_id: "project-1",
project_id: TEST_PROJECT_ID,
name: "北区供水项目",
code: "north-supply",
gs_workspace: "tjwater_next",
@@ -22,7 +23,7 @@ test("uses backend project identity, role and map extent with the existing fallb
username: "north.operator",
system_role: "user",
is_system_admin: false,
project_id: "project-1",
project_id: TEST_PROJECT_ID,
project_role: "member",
permissions: ["webgis.view"]
}