feat(workbench): integrate operational workflows and map state
This commit is contained in:
@@ -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"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user