This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user