feat: unify scope settings and catalog table interactions
Deploy production / deploy (push) Successful in 54s
Deploy production / deploy (push) Successful in 54s
This commit is contained in:
@@ -27,10 +27,16 @@ test("draft, immutable preview, mixed-result persistence and responsive workspac
|
||||
await login(page);
|
||||
await page.getByRole("button", { name: "新建回测" }).click();
|
||||
await page.getByLabel("运行名称", { exact: true }).fill("浏览器回测验收");
|
||||
await page.getByRole("textbox", { name: "Region", exact: true }).fill("USA");
|
||||
await page.getByRole("button", { name: "同步合法设置", exact: true }).click();
|
||||
await page.getByRole("button", { name: "选择组合", exact: true }).click();
|
||||
await page.getByRole("combobox", { name: "Region", exact: true }).click();
|
||||
await page.getByRole("option").filter({ hasText: /^USA$/ }).click();
|
||||
await page.getByRole("combobox", { name: "Universe", exact: true }).click();
|
||||
await page
|
||||
.getByRole("textbox", { name: "Universe", exact: true })
|
||||
.fill("TOP3000");
|
||||
.getByRole("option")
|
||||
.filter({ hasText: /^TOP3000$/ })
|
||||
.click();
|
||||
await page.getByRole("button", { name: "应用组合", exact: true }).click();
|
||||
await page.getByLabel("回测候选").fill("rank(close)\n-rank(volume)");
|
||||
await page.getByRole("button", { name: "保存草稿", exact: true }).click();
|
||||
await expect(page.getByText("草稿已保存", { exact: true })).toBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user