Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1575)

Unified Diff: dashboard/dashboard/elements/chart-container-test.html

Issue 2767263002: . Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
« no previous file with comments | « dashboard/dashboard/elements/chart-container.html ('k') | dashboard/dashboard/static/testdata/dromaeo-charts.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698