OLD | NEW |
---|---|
1 <!-- | 1 <!-- |
2 Copyright 2014 The Chromium Authors. All rights reserved. | 2 Copyright 2014 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. | 4 found in the LICENSE file. |
5 --> | 5 --> |
6 | 6 |
7 <polymer-element name="ct-test-list" attributes="tests"> | 7 <polymer-element name="ct-test-list" attributes="tests"> |
8 <template> | 8 <template> |
9 <style> | 9 <style> |
10 :host { | 10 :host { |
11 display: block; | 11 display: block; |
12 } | 12 } |
13 </style> | 13 </style> |
14 <template repeat="{{testName in tests}}"> | 14 <template repeat="{{ test in tests }}"> |
15 <div><a href="{{testName|flakinessDashboardURL}}">{{testName}}</a></div> | 15 <!-- FIXME: Find a less redundant UI than repeating the step on each line. --> |
16 <div>{{ test.step }} <a href="{{ test | flakinessDashboardURL }}">{{ test. testName }}</a></div> | |
16 </template> | 17 </template> |
17 </template> | 18 </template> |
18 <script> | 19 <script> |
19 Polymer({ | 20 Polymer({ |
20 flakinessDashboardURL: function(testName) { | 21 flakinessDashboardURL: function(test) { |
21 return ui.urlForFlakinessDashboard([testName]); | 22 return ui.urlForFlakinessDashboard(test.testName, test.step); |
szager1
2014/07/25 23:53:17
The 'Examine' button seems to be busted for webkit
| |
22 }, | 23 }, |
23 }); | 24 }); |
24 </script> | 25 </script> |
25 </polymer-element> | 26 </polymer-element> |
OLD | NEW |