feat: add versioned research templates and alpha variants
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user