feat(platform-web): show dashboard coverage filter context

This commit is contained in:
lingniu
2026-07-04 02:19:59 +08:00
parent a6edc02be5
commit 826fa76008
2 changed files with 15 additions and 0 deletions

View File

@@ -215,6 +215,7 @@ test('filters dashboard coverage by service status', async () => {
await waitFor(() => {
expect(fetchMock).toHaveBeenCalledWith(expect.stringContaining('serviceStatus=degraded'), undefined);
});
expect(screen.getByText('当前筛选:部分来源离线')).toBeInTheDocument();
});
test('opens dashboard coverage from service status distribution', async () => {