Bug 1192198 - Evaluate a skipped step as a non-failure

This commit is contained in:
Jonathan French 2015-08-07 13:58:46 -04:00
Родитель 12658478fa
Коммит 60af18fdaa
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -51,7 +51,9 @@ logViewerApp.controller('LogviewerCtrl', [
// so we have to check the results property is present.
// TODO: Remove this when the old data has expired, so long as
// other data submitters also provide a step result.
if ('result' in steps[i] && steps[i].result !== "success") {
if ('result' in steps[i] && steps[i].result !== 'success' &&
steps[i].result !== 'skipped') {
return true;
}
}