feat: add versioned research templates and alpha variants

This commit is contained in:
yuxuanhui
2026-09-08 21:29:21 +08:00
parent b604e6050e
commit f89ae211d2
55 changed files with 5650 additions and 435 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ test("fixed input, AI approval, backtest and research source remain connected",
await page.getByLabel("密码", { exact: true }).fill("browser-test-password");
await page.getByRole("button", { name: "进入工作空间" }).click();
await expect(
page.getByRole("button", { name: "打开研究助手" }),
page.getByRole("button", { name: "切换研究助手" }),
).toBeVisible();
const config = { base_url: "https://model.test/v1", model: "test-model" };
await page.request.put("/api/v1/ai/settings", {
@@ -103,7 +103,7 @@ test("fixed input, AI approval, backtest and research source remain connected",
);
expect(response.status()).toBe(200);
await page.reload();
await page.getByRole("button", { name: "打开研究助手" }).click();
await page.getByRole("button", { name: "切换研究助手" }).click();
const chat = page.getByRole("complementary", { name: "AI 研究助手" });
await expect(chat.getByRole("button", { name: "确认执行" })).toBeEnabled();
expect(