fix dashboard source groups
All checks were successful
CI/CD Pipeline / Manual Action Help (push) Has been skipped
CI/CD Pipeline / Start Dev Containers in Dokploy (push) Has been skipped
CI/CD Pipeline / Cleanup Dev Database (push) Has been skipped
CI/CD Pipeline / Quality Gate (push) Successful in 1m49s
CI/CD Pipeline / Build and Push Images (push) Successful in 2m22s
CI/CD Pipeline / Internal Notify (push) Successful in 1s

This commit is contained in:
2026-04-28 13:01:31 +02:00
parent afa7845fef
commit 6a9e96922c
4 changed files with 43 additions and 9 deletions

View File

@@ -21,3 +21,11 @@ class ParserDashboardPageTest(TestCase):
content = response.content.decode()
self.assertIn("refreshRegisters().catch(renderRegistersUnavailable)", content)
self.assertIn("isAuthError(error)", content)
def test_dashboard_has_group_fallback_for_current_api_shape(self):
response = self.client.get("/dashboard")
self.assertEqual(response.status_code, 200)
content = response.content.decode()
self.assertIn("function sourceGroups()", content)
self.assertIn("dashboardData?.file_sources", content)