Skip to content

Commit

Permalink
show previously hidden errors in final report
Browse files Browse the repository at this point in the history
  • Loading branch information
whyboris committed May 19, 2017
1 parent 68da826 commit ab5c34b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/data/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ DataStore.prototype.saveResultToSuite = function(suite, browser, result) {
brwsr.depth = test.depth + 1;

if(result.log && result.log[0] !== null){
if (result.log.length > 1) {
for (var i = 0; i < result.log.length; i++) {
result.log[0] = result.log[0] + result.log[i];
}
}
brwsr.errors = result.log[0].split('\n');
}
};
Expand Down

0 comments on commit ab5c34b

Please sign in to comment.