handle timeouts as failures

pull/365/head
Mike Cartwright 2017-11-30 14:02:32 +00:00
parent 483ce15216
commit 8a8f0d6c48
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@
if (session.status === 'passed') {
$scope.behatResults.passed += 1;
browserTestLog(session, 'passed')
} else if (session.status === 'failed') {
} else if ((session.status === 'failed') || (session.status === 'timeout')) {
$scope.behatResults.failed += 1;
browserTestLog(session, 'failed')
}