feat: 统一研究模块表格布局与详情交互
This commit is contained in:
@@ -19,7 +19,7 @@ test("native QuantFlow canvas saves versions, branches and restores artifacts",
|
||||
.getByRole("button", { name: "QuantFlow", exact: true })
|
||||
.click();
|
||||
await expect(
|
||||
page.getByRole("heading", { name: "QuantFlow", exact: true }),
|
||||
page.getByRole("region", { name: "QuantFlow", exact: true }),
|
||||
).toBeVisible();
|
||||
await page.request.put("/api/v1/account/credentials", {
|
||||
headers,
|
||||
@@ -114,6 +114,7 @@ test("native QuantFlow canvas saves versions, branches and restores artifacts",
|
||||
})
|
||||
).json();
|
||||
await page.reload();
|
||||
await page.getByRole("button", { name: "新建流程", exact: true }).click();
|
||||
await page.getByLabel("流程名称", { exact: true }).fill("画布原生研究");
|
||||
async function add(kind: string, label: string) {
|
||||
await page.getByLabel("新增节点类型").selectOption(kind);
|
||||
@@ -179,7 +180,7 @@ test("native QuantFlow canvas saves versions, branches and restores artifacts",
|
||||
.getByRole("option")
|
||||
.filter({ hasText: fixed.id.slice(0, 8) })
|
||||
.click();
|
||||
await page.getByRole("heading", { name: "QuantFlow", exact: true }).click();
|
||||
await page.getByLabel("自动研究假设").click();
|
||||
for (const [label, value] of [
|
||||
["最大轮数", "1"],
|
||||
["最大模拟条目数", "2"],
|
||||
|
||||
Reference in New Issue
Block a user