feat: add Pyramid home dashboard
This commit is contained in:
@@ -5,7 +5,7 @@ test("submission tabs, day selection, local correlation and reload", async ({
|
||||
}) => {
|
||||
const errors: string[] = [];
|
||||
page.on("pageerror", (error) => errors.push(error.message));
|
||||
await page.goto("/");
|
||||
await page.goto("/#alphas");
|
||||
await page.getByLabel("密码", { exact: true }).fill("browser-test-password");
|
||||
await page.getByRole("button", { name: "进入工作空间" }).click();
|
||||
await expect(
|
||||
|
||||
@@ -19,7 +19,7 @@ test("sidebar geometry, recent navigation, user menu and compact tools", async (
|
||||
await page.getByRole("button", { name: "配置", exact: true }).click();
|
||||
await expect(page.locator("#model-settings")).toBeInViewport();
|
||||
await expect(
|
||||
nav.getByRole("button", { name: "Alpha 管理", exact: true }),
|
||||
nav.getByRole("button", { name: "首页看板", exact: true }),
|
||||
).toHaveAttribute("aria-current", "page");
|
||||
await page.locator(".settings-drawer .semi-sidesheet-close").click();
|
||||
await page.getByRole("button", { name: "用户菜单", exact: true }).click();
|
||||
|
||||
@@ -175,7 +175,7 @@ test("account → scoped sync → research → resync → PnL → filtered expor
|
||||
test("batch tags, column visibility, server pagination and saved preferences", async ({
|
||||
page,
|
||||
}) => {
|
||||
await page.goto("/");
|
||||
await page.goto("/#alphas");
|
||||
await page.getByLabel("密码", { exact: true }).fill("browser-test-password");
|
||||
await page.getByRole("button", { name: "进入工作空间" }).click();
|
||||
await expect(
|
||||
|
||||
Reference in New Issue
Block a user