fix: 统一上游不可达错误文案

This commit is contained in:
lyon
2026-06-20 14:26:44 +08:00
parent bcd90daf9c
commit 32a66f18b3
6 changed files with 55 additions and 14 deletions
@@ -144,7 +144,9 @@ test.describe("performance dashboard summary error", () => {
await expect(page.getByRole("heading", { name: "性能监控" })).toBeVisible();
await expect(page.getByText("性能监控加载失败")).toBeVisible();
await expect(page.getByText("暂时无法连接上游。")).toBeVisible();
await expect(page.getByRole("button", { name: "重试" })).toBeVisible();
await expect(page.locator("body")).not.toContainText(/Code Agent||/u);
await expect(page.locator(".performance-contract-item")).toHaveCount(0);
});
});