feat: complete TASK-WP4-02 canvas element editing

This commit is contained in:
suyx
2026-08-03 10:58:17 +08:00
parent 8d8fbeb816
commit d16802c164
11 changed files with 1314 additions and 67 deletions
@@ -75,6 +75,7 @@ test("TDD-WP4-BG-001 preserves overlays while switching the background", async (
await page.goto(`${webUrl}/app/projects/${projectId}/editor`);
await expect(page.getByRole("heading", { name: "底图参数" })).toBeVisible();
await expect(page.getByText("城市工作室")).toBeVisible();
await page.getByRole("button", { name: "历史", exact: true }).click();
await expect(page.getByRole("button", { name: /生成图/ }).last()).toBeVisible();
await page.getByRole("button", { name: /生成图/ }).last().click();
const dialog = page.getByRole("dialog", { name: "更换底图" });