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

Unified Diff: appengine/findit/templates/waterfall/test_failure.html

Issue 2425513002: [Findit] Fix bug on non-admin UI for unclassified_failure. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/templates/waterfall/test_failure.html
diff --git a/appengine/findit/templates/waterfall/test_failure.html b/appengine/findit/templates/waterfall/test_failure.html
index 206460aea6d053b646827390f83b6de86d2a62e3..6aff5888156152fe26a4176195f4390494048359 100644
--- a/appengine/findit/templates/waterfall/test_failure.html
+++ b/appengine/findit/templates/waterfall/test_failure.html
@@ -222,19 +222,12 @@
var rowspan = result.heuristic_analysis.suspected_cls.length > 0 ? result.heuristic_analysis.suspected_cls.length : 1;
tableString += generateCommonCellsForAllCategories(step_name, 'undetermined', index, result.tests, result.first_failure, result.last_pass, rowspan);
- tableString += '<td id="unclassified_reason_td" rowspan="' + rowspan + '">' + findit.tryjobStatusMessageMap[result.try_job.status] + '</td>';
tableString += generateHeuristicCulpritCls(result.heuristic_analysis.suspected_cls, result.supported);
tableString += '</tr>';
});
$('#unclassified_failures_table tbody').append(tableString);
$('#unclassified_failures').removeClass('not-display');
-
- // Do not display Reason to non-admin users.
- if (! findit.showDebugInfo) {
- $('#unclassified_reason_th').addClass('not-display');
- $('#unclassified_reason_td').addClass('not-display');
- }
}
}
@@ -420,7 +413,6 @@ Test Failure:
<th rowspan="3" title="Failed test name" width="300px">Test(s)</th>
<th rowspan="3" title="The build cycle in which the step started to fail">First Failure</th>
<th rowspan="3" title="The last build cycle in which the step passed">Last Pass<br>Before Failure</th>
- <th id="unclassified_reason_th" rowspan="3" title="The reason we're not sure about the result">Reason</th>
<th colspan="4">Suspected CLs</th>
</tr>
<tr>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698