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
+4 -1
View File
@@ -51,6 +51,8 @@ test("Agent separates conversation navigation, context and composer from the map
await expect(context.getByRole("button")).toHaveCount(0);
await expect(form).toHaveCount(1);
await expect(form).toHaveCSS("background-color", "rgb(255, 255, 255)");
const restingBorder = await form.evaluate((element) => getComputedStyle(element).borderColor);
const restingShadow = await form.evaluate((element) => getComputedStyle(element).boxShadow);
const panelBox = (await panel.boundingBox())!;
const headerBox = (await header.boundingBox())!;
const divider = panel.locator("[data-agent-header-divider]");
@@ -58,7 +60,8 @@ test("Agent separates conversation navigation, context and composer from the map
expect(panelBox.x).toBe(0);
expect(contextBox.y).toBeGreaterThanOrEqual(headerBox.y + headerBox.height);
await form.locator("textarea").focus();
await expectThemeColor(form, "border-color", "--action-blue");
await expect(form).toHaveCSS("border-color", restingBorder);
await expect(form).not.toHaveCSS("box-shadow", restingShadow);
await header.getByRole("button", { name: "选择主题" }).click();
await expect(page.getByRole("menuitem", { name: "新建主题", exact: true })).toBeVisible();
await expect(page.getByRole("menuitem", { name: "新建项目", exact: true })).toHaveCount(0);