feat: 调整 Alpha 视图标签与筛选工具栏交互
Deploy production / deploy (push) Successful in 36s

This commit is contained in:
yuxuanhui
2026-09-10 14:55:23 +08:00
parent 6ce33eb572
commit 1e67f43012
9 changed files with 995 additions and 414 deletions
+3
View File
@@ -82,6 +82,7 @@ test("model settings, text stream, contextual query, confirmation and preserved
await page.locator(".settings-drawer .semi-sidesheet-close").click();
await configure(page);
await page.getByRole("button", { name: "Alpha 管理", exact: true }).click();
await page.getByRole("button", { name: "筛选 Alpha", exact: true }).click();
await page.getByRole("textbox", { name: "搜索 Alpha" }).fill("TEST0001");
await page.getByRole("button", { name: "查询", exact: true }).click();
// Global tools sit below drawers; open the assistant before the Alpha detail.
@@ -138,9 +139,11 @@ test("model settings, text stream, contextual query, confirmation and preserved
chat.getByText("筛选换手率不超过 15% 的 Alpha", { exact: true }),
).toBeVisible();
await chat.getByRole("button", { name: "应用到列表" }).click();
await page.getByRole("button", { name: "筛选 Alpha", exact: true }).click();
await expect(page.getByRole("textbox", { name: "搜索 Alpha" })).toHaveValue(
"",
);
await page.getByRole("button", { name: "关闭筛选", exact: true }).click();
await page.screenshot({
path: "../output/playwright/ai-query.png",
fullPage: true,