fix: 统一上游不可达错误文案
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user