feat: add Pyramid home dashboard

This commit is contained in:
yuxuanhui
2026-09-09 18:20:08 +08:00
parent be76b89e9d
commit e57b1f7a2e
17 changed files with 950 additions and 34 deletions
+1 -1
View File
@@ -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(
+1 -1
View File
@@ -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();
+1 -1
View File
@@ -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(