feat: simplify dashboard usage stats

This commit is contained in:
2026-08-14 15:36:03 +08:00
parent 5f50669b98
commit 45ceeee936
3 changed files with 4 additions and 26 deletions
+2
View File
@@ -175,6 +175,8 @@ test("shows every account as a collapsible summary on the overview", async ({
).toBeVisible();
await expect(first.getByText("本周期 Tokens")).toBeVisible();
await expect(first.getByText("本周期单日峰值")).toBeVisible();
await expect(first.getByText("连续使用", { exact: true })).toHaveCount(0);
await expect(first.getByText("最长任务时长", { exact: true })).toHaveCount(0);
await expect(first.getByText("123.5K", { exact: true })).toBeVisible();
await expect(first.getByText("按每日数据汇总")).toBeVisible();
await expect(page.locator(".account-detail")).toHaveCount(1);