feat: expand intelligent investigation workspace
Generic Container CI/CD / test-build-publish (push) Successful in 1m52s
Frontend CI/CD / build-test-publish-and-deploy (push) Successful in 1m52s

This commit is contained in:
2026-10-30 17:30:19 +08:00
parent ddd03dbff6
commit c0e4231b83
223 changed files with 13155 additions and 5304 deletions
+7
View File
@@ -1,4 +1,9 @@
import { expect, test } from "@playwright/test";
import { mockInvestigationPresentation } from "./support/mock-investigation-presentation";
test.beforeEach(async ({ page }) => {
await mockInvestigationPresentation(page, []);
});
test("Dev Panel opens as a floating desktop panel and closes with Escape", async ({ page }) => {
test.setTimeout(60_000);
@@ -14,6 +19,7 @@ test("Dev Panel opens as a floating desktop panel and closes with Escape", async
const panel = page.getByTestId("map-dev-panel");
await expect(panel).toBeVisible();
await panel.getByRole("tab", { name: "地图调试", exact: true }).click();
await expect(panel).toHaveCSS("width", "400px");
await expect(panel).toHaveCSS("border-radius", "16px");
const panelBox = await panel.boundingBox();
@@ -62,6 +68,7 @@ test("labels remain active per business group and clear globally", async ({ page
await page.getByRole("button", { name: "切换地图 Dev Panel" }).click();
const panel = page.getByTestId("map-dev-panel");
await panel.getByRole("tab", { name: "地图调试", exact: true }).click();
await panel.locator("summary").filter({ hasText: "数值标注" }).click();
const apply = panel.getByRole("button", { name: "应用标注", exact: true });
await apply.click();