Index: dashboard/dashboard/elements/chart-container-test.html |
diff --git a/dashboard/dashboard/elements/chart-container-test.html b/dashboard/dashboard/elements/chart-container-test.html |
index 0aaecfb4f4cebbda53171cb521c9b236c4d0dae4..a415dbaa8dc0263ac679eddf8c9fa418c9079d55 100644 |
--- a/dashboard/dashboard/elements/chart-container-test.html |
+++ b/dashboard/dashboard/elements/chart-container-test.html |
@@ -102,5 +102,15 @@ tr.b.unittest.testSuite(function() { |
assert.equal(chart.seriesGroupList[0].tests[1].displayName, |
'http___dromaeo.com?dom-attr'); |
}, testOptions); |
+ |
+ test('alerts displayed', function() { |
+ testing_common.mockChartJson(dromaeoCharts); |
+ var chart = createChart(); |
+ this.addHTMLOutput(chart); |
+ chart.addSeriesGroup(dromaeoCharts.graphParams); |
+ assert.equal(chart.seriesGroupList[0].tests[0].displayName, 'dom'); |
+ assert.equal(chart.seriesGroupList[0].tests[1].displayName, |
+ 'http___dromaeo.com?dom-attr'); |
+ }, testOptions); |
}); |
</script> |