fix: restore polished account experience and align AI with Lark design
This commit is contained in:
@@ -16,6 +16,12 @@ test("account → full sync → research → resync → PnL → filtered export
|
||||
await page.getByLabel("密码", { exact: true }).fill("browser-test-password");
|
||||
await page.getByRole("button", { name: "进入工作空间" }).click();
|
||||
await page.getByRole("button", { name: "个人信息", exact: true }).click();
|
||||
const connectionSettings = page.getByRole("button", {
|
||||
name: "连接设置",
|
||||
exact: true,
|
||||
});
|
||||
if ((await connectionSettings.getAttribute("aria-expanded")) === "false")
|
||||
await connectionSettings.click();
|
||||
await page
|
||||
.getByRole("textbox", { name: "WorldQuant 邮箱" })
|
||||
.fill("test@example.com");
|
||||
@@ -36,6 +42,11 @@ test("account → full sync → research → resync → PnL → filtered export
|
||||
.toBe("connected");
|
||||
await page.keyboard.press("Escape");
|
||||
await expect(page.locator(".job-panel")).not.toBeVisible();
|
||||
await expect(page.locator(".permission-list li")).toHaveCount(10);
|
||||
await expect(page.locator(".session-summary")).toContainText("4 小时");
|
||||
const simulation = page.getByRole("row", { name: /回测/ });
|
||||
await expect(simulation).toContainText("10,000(本地设定)");
|
||||
await expect(simulation).toContainText("9,997");
|
||||
await page.getByRole("button", { name: "Alpha 管理", exact: true }).click();
|
||||
await page.getByRole("button", { name: "同步平台数据" }).click();
|
||||
await expect
|
||||
|
||||
Reference in New Issue
Block a user