fix config

This commit is contained in:
larssand
2026-07-06 09:36:00 +02:00
parent 1238fd0e4d
commit bddc84395c
2 changed files with 25 additions and 3 deletions

View File

@@ -57,6 +57,15 @@ class DashboardTests(unittest.TestCase):
self.assertIn("incidentNotice", HTML)
self.assertIn("Incident marked", HTML)
def test_dashboard_does_not_clear_streams_when_picker_is_unloaded(self):
self.assertIn("const streamValues = Object.values(window.streamSelection || {})", HTML)
self.assertIn("if (streamValues.length)", HTML)
self.assertIn("values.graylog_streams = streamValues", HTML)
def test_dashboard_can_recover_stream_selection_from_profiles(self):
self.assertIn("No enabled streams were saved", HTML)
self.assertIn("streams with existing profiles are selected for recovery", HTML)
if __name__ == "__main__":
unittest.main()