appium-instruments
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -257,10 +257,13 @@ // Wrapper around Apple's Instruments app | ||
var simulatorSdkAndDevice = this.simulatorSdkAndDevice; | ||
// quick hack to go around udid bug | ||
// todo: launch instruments within batch, catch the exception and fix it | ||
// on the fly | ||
if (simulatorSdkAndDevice === 'iPhone - Simulator - iOS 7.1') | ||
simulatorSdkAndDevice = 'iPhone Retina (4-inch 64-bit) - Simulator - iOS 7.1'; | ||
if (simulatorSdkAndDevice === 'iPad - Simulator - iOS 7.1') | ||
simulatorSdkAndDevice = 'iPad Retina (64-bit) - Simulator - iOS 7.1'; | ||
if (simulatorSdkAndDevice && simulatorSdkAndDevice[0] === '=') { | ||
simulatorSdkAndDevice = simulatorSdkAndDevice.substring(1); | ||
} else { | ||
// quick hack to go around udid bug | ||
// todo: launch instruments within batch, catch the exception and fix it | ||
// on the fly | ||
if (simulatorSdkAndDevice === 'iPhone - Simulator - iOS 7.1') | ||
simulatorSdkAndDevice = 'iPhone Retina (4-inch 64-bit) - Simulator - iOS 7.1'; | ||
if (simulatorSdkAndDevice === 'iPad - Simulator - iOS 7.1') | ||
simulatorSdkAndDevice = 'iPad Retina (64-bit) - Simulator - iOS 7.1'; | ||
} | ||
if (simulatorSdkAndDevice !== this.simulatorSdkAndDevice) | ||
@@ -267,0 +270,0 @@ logger.debug("Instruments device was changed from:\"", this.simulatorSdkAndDevice, "\" to:\"", |
{ | ||
"name": "appium-instruments", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "IOS Instruments + instruments-without-delay launcher used by Appium", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
616036
693