You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by al...@apache.org on 2016/07/14 11:46:44 UTC

[2/2] cordova-paramedic git commit: CB-11576 Paramedic fails to launch Appium tests on iOS "Plus" Simulators

CB-11576 Paramedic fails to launch Appium tests on iOS "Plus" Simulators


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

Branch: refs/heads/master
Commit: c53e22e6ee3a543b7621fedd49c2831e709dc630
Parents: 6ff2afd
Author: Alexander Sorokin <al...@akvelon.com>
Authored: Thu Jul 14 14:46:28 2016 +0300
Committer: Alexander Sorokin <al...@akvelon.com>
Committed: Thu Jul 14 14:46:28 2016 +0300

----------------------------------------------------------------------
 lib/appium/AppiumRunner.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/c53e22e6/lib/appium/AppiumRunner.js
----------------------------------------------------------------------
diff --git a/lib/appium/AppiumRunner.js b/lib/appium/AppiumRunner.js
index ee81c41..699b24f 100644
--- a/lib/appium/AppiumRunner.js
+++ b/lib/appium/AppiumRunner.js
@@ -216,7 +216,7 @@ AppiumRunner.prototype.prepareOptions = function () {
         this.options.device = false;
     }
     if (this.options.platform === 'ios' && this.options.appiumDeviceName) {
-        this.options.appiumDeviceName = this.options.appiumDeviceName.replace('-', ' ');
+        this.options.appiumDeviceName = this.options.appiumDeviceName.replace(/-/g, ' ');
     }
 };
 


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