mirror of https://github.com/akveo/blur-admin
handle timeouts as failures
parent
483ce15216
commit
8a8f0d6c48
|
@ -184,7 +184,7 @@
|
||||||
if (session.status === 'passed') {
|
if (session.status === 'passed') {
|
||||||
$scope.behatResults.passed += 1;
|
$scope.behatResults.passed += 1;
|
||||||
browserTestLog(session, 'passed')
|
browserTestLog(session, 'passed')
|
||||||
} else if (session.status === 'failed') {
|
} else if ((session.status === 'failed') || (session.status === 'timeout')) {
|
||||||
$scope.behatResults.failed += 1;
|
$scope.behatResults.failed += 1;
|
||||||
browserTestLog(session, 'failed')
|
browserTestLog(session, 'failed')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue