fix config
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user