Index: Tools/GardeningServer/ui/ct-test-list.html |
diff --git a/Tools/GardeningServer/ui/ct-test-list.html b/Tools/GardeningServer/ui/ct-test-list.html |
index 73f970a3e36925af648e2b63637296055c275738..12477f87e74ab4d189a2c04a469e0df53f4a6c5c 100644 |
--- a/Tools/GardeningServer/ui/ct-test-list.html |
+++ b/Tools/GardeningServer/ui/ct-test-list.html |
@@ -11,14 +11,19 @@ found in the LICENSE file. |
display: block; |
} |
</style> |
- <template repeat="{{testName in tests}}"> |
- <div><a href="{{testName|flakinessDashboardURL}}">{{testName}}</a></div> |
+ <template repeat="{{ test in tests }}"> |
+ <!-- FIXME: Find a less redundant UI than repeating the step on each line. --> |
+ <div> |
+ {{ test.step }} |
+ <template if="{{ test.testName }}"><a href="{{ test | flakinessDashboardURL }}">{{ test.testName }}</a></template> |
+ <template if="{{ !test.testName }}"><b>whole step failed</b></template> |
+ </div> |
</template> |
</template> |
<script> |
Polymer({ |
- flakinessDashboardURL: function(testName) { |
- return ui.urlForFlakinessDashboard([testName]); |
+ flakinessDashboardURL: function(test) { |
+ return ui.urlForFlakinessDashboard(test.testName, test.step); |
}, |
}); |
</script> |