cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alsoro...@apache.org
Subject cordova-paramedic git commit: Get detailed error message on failed test run
Date Tue, 07 Jun 2016 16:04:10 GMT
Repository: cordova-paramedic
Updated Branches:
  refs/heads/master 39c200d2c -> c978171a2


Get detailed error message on failed test run


Project: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/commit/c978171a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/tree/c978171a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/diff/c978171a

Branch: refs/heads/master
Commit: c978171a200a824f38c690f7009e8a6fee842a41
Parents: 39c200d
Author: Alexander Sorokin <alexander.sorokin@akvelon.com>
Authored: Tue Jun 7 18:28:16 2016 +0300
Committer: Alexander Sorokin <alexander.sorokin@akvelon.com>
Committed: Tue Jun 7 18:28:16 2016 +0300

----------------------------------------------------------------------
 lib/paramedic.js | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/c978171a/lib/paramedic.js
----------------------------------------------------------------------
diff --git a/lib/paramedic.js b/lib/paramedic.js
index a450f81..8291505 100644
--- a/lib/paramedic.js
+++ b/lib/paramedic.js
@@ -558,10 +558,10 @@ ParamedicRunner.prototype.runSauceTests = function () {
         return self.waitForTests();
     })
     .then(function (result) {
-        logger.normal('cordova-paramedic: tests finished');
+        logger.normal('cordova-paramedic: Tests finished');
         isTestPassed = result;
-    }, function () {
-        logger.normal('cordova-paramedic: tests failed to complete; ending appium session');
+    }, function (error) {
+        logger.normal('cordova-paramedic: Tests failed to complete; ending appium session.
The error is:\n' + error);
     })
     .fin(function () {
         if (pollForResults) {
@@ -570,7 +570,6 @@ ParamedicRunner.prototype.runSauceTests = function () {
         return driver.quit();
     })
     .then(function () {
-        console.log('isTestPassed is ' + isTestPassed);
         return isTestPassed;
     });
 };


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message