Skip to content

Instantly share code, notes, and snippets.

@prolificcoder
Created February 29, 2016 18:57
Show Gist options
  • Save prolificcoder/a7e76e4ea26d56b462f0 to your computer and use it in GitHub Desktop.
Save prolificcoder/a7e76e4ea26d56b462f0 to your computer and use it in GitHub Desktop.
Gulp e2e test is not passing
Satyajits-iMac:appium-ios-driver malugus$ DEVICE=ios92 gulp e2e-test
[21:50:20] Using gulpfile ~/Code/appium-ios-driver/gulpfile.js
[21:50:20] Starting 'transpile'...
[21:50:26] Finished 'transpile' after 5.99 s
[21:50:26] Starting 'e2e-test'...
capabilities
1) should contain server details
driver
2) should start
✓ should stop (26470ms)
commands - logging
getLogTypes
✓ should get the list of available logs
getLog
errors
✓ should throw an error when an invalid type is given
✓ should throw an error when driver is not started
success
3) "before all" hook: callee$3$0
testapp - active
4) "before all" hook: callee$1$0
testapp - clear
5) "before all" hook: callee$1$0
testapp - context methods
6) "before all" hook: callee$1$0
testapp - device
invalid deviceName @skip-real-device
7) should fail gracefully with an invalid deviceName
generic deviceName
8) should work with a generic iPhone deviceName
9) should work with a generic iPad deviceName
real device
10) shouldn't try to validate against sims
testapp - find element
11) "before all" hook: callee$1$0
testapp - get attribute
12) "before all" hook: callee$1$0
testapp - keyboard
typing with strategy: undefined
13) "before all" hook: callee$1$0
typing with strategy: oneByOne
14) "before all" hook: callee$1$0
typing with strategy: grouped
15) "before all" hook: callee$1$0
typing with strategy: setValue
16) "before all" hook: callee$1$0
typing
17) "before all" hook: callee$1$0
testapp - location - 1 @skip-ci
18) "before all" hook: callee$1$0
testapp - location - 2 @skip-ci
19) "before all" hook: callee$1$0
testapp - location - 3 @skip-ci
20) should not work without bundleId
testapp - location - 4 @skip-ci @skip-real-device
21) "before all" hook: callee$1$0
testapp - location - 5 @skip-ci
22) "before all" hook: callee$1$0
testapp - rotation gesture
23) "before all" hook: callee$1$0
testapp - simple
using calc app
24) "before all" hook: callee$1$0
testapp - size
element size
25) "before all" hook: callee$1$0
testapp - source
26) "before all" hook: callee$1$0
testapp - touch actions
27) "before all" hook: callee$1$0
testapp - swipe actions
28) "before all" hook: callee$1$0
testapp - wait-for-apps
just waiting
29) "before all" hook: callee$1$0
waiting for one element
30) "before all" hook: callee$1$0
bad script
31) "before all" hook: callee$1$0
safari - basics @skip-real-device
default init
32) "before all" hook: callee$1$0
init with safariInitialUrl
33) "before all" hook: callee$1$0
safari - context - (ios92)
34) "before all" hook: callee$1$0
safari - screenshots
default
35) "before all" hook: callee$1$0
setting screenshotWaitTimeout
36) "before all" hook: callee$1$0
touch
- should flick element
safari - windows and frames (ios92)
37) "before all" hook: callee$1$0
safari - windows and frames (ios92) - without safariAllowPopups
38) "before all" hook: callee$1$0
uicatalog - alerts
39) "before all" hook: callee$1$0
uicatalog - background app
40) "before all" hook: callee$1$0
uicatalog - basic
api
41) "before all" hook: callee$1$0
appium ios @skip-ci
42) "before all" hook: callee$1$0
uicatalog - clear
hide keyboard
43) "before all" hook: callee$1$0
uicatalog - controls
44) "before all" hook: callee$1$0
uicatalog - execute
45) "before all" hook: callee$1$0
uicatalog - find - basics
46) "before all" hook: callee$1$0
uicatalog - find by accessibility id
47) "before all" hook: callee$1$0
uicatalog - find by ios-ui-automation
48) "before all" hook: callee$1$0
uicatalog - find by xpath
49) "before all" hook: callee$1$0
uicatalog - lock device
50) "before all" hook: callee$1$0
uicatalog - move
moveTo and click
51) "before all" hook: callee$1$0
uicatalog - reset
app reset
52) "before all" hook: callee$1$0
uicatalog - touch
53) "before all" hook: callee$1$0
uicatalog - contexts
54) "before all" hook: callee$1$0
testapp - autoAcceptAlerts default
55) "before all" hook: callee$1$0
testapp - autoAcceptAlerts cap = false
56) "before all" hook: callee$1$0
testapp - autoAcceptAlerts cap = true
57) "before all" hook: callee$1$0
testapp - default autoDismissAlerts cap
58) "before all" hook: callee$1$0
testapp - autoDismissAlerts cap = false
59) "before all" hook: callee$1$0
testapp - autoDismissAlerts cap = true
60) "before all" hook: callee$1$0
testapp - basics - calc app 1
61) "before all" hook: callee$1$0
testapp - basics - calc app 2
62) "before all" hook: callee$1$0
localization - calendarFormat @skip-ios8 @skip-real-device
changing to gregorian calendar
63) "before all" hook: callee$1$0
changing to buddhist calendar
64) "before all" hook: callee$1$0
localization - language @skip-ios8 @skip-real-device
changing to fr
65) "before all" hook: callee$1$0
changing to de
66) "before all" hook: callee$1$0
localization - locale @skip-real-device
default locale
67) "before all" hook: callee$1$0
changing locale @skip-real-device
68) "before all" hook: callee$1$0
changing back @skip-real-device
69) "before all" hook: callee$1$0
testapp - timeout
implicit wait
70) "before all" hook: callee$1$0
testapp - timeout
mobile reset
71) "before all" hook: callee$1$0
testapp - timeout
short timeout
72) "before all" hook: callee$1$0
testapp - timeout
via desired caps
73) "before all" hook: callee$1$0
testapp - timeout
zero timeout
74) "before all" hook: callee$1$0
safari - webview - alerts @skip-real-device
75) "before all" hook: callee$1$0
safari - webview - basics
76) "before all" hook: callee$1$0
safari - webview - cookies
77) "before all" hook: callee$1$0
safari - webview - executeAsync
78) "before all" hook: callee$1$0
safari - webview - execute
79) "before all" hook: callee$1$0
safari - webview - frames
80) "before all" hook: callee$1$0
safari - webview - iframes
81) "before all" hook: callee$1$0
safari - webview implicit wait
82) "before all" hook: callee$1$0
safari - webview - special capabilities
safariIgnoreFraudWarning
true
83) "before all" hook: callee$1$0
false
84) "before all" hook: callee$1$0
safari - webview - touch actions
85) "before all" hook: callee$1$0
safari - webview - window title
86) "before all" hook: callee$1$0
uicatalog - gestures - flick @skip-ios8 @skip-ios7
87) "before all" hook: callee$1$0
uicatalog - gestures - mobile scroll
88) "before all" hook: callee$1$0
uicatalog - gestures - mobile shake
89) "before all" hook: callee$1$0
uicatalog - load app with absolute path
90) "before all" hook: callee$1$0
uicatalog - load zipped app
91) "before all" hook: callee$1$0
uicatalog - load app with relative path
92) "before all" hook: callee$1$0
uicatalog - load zipped app with relative path
93) "before all" hook: callee$1$0
uicatalog - load zipped app via url @skip-real-device
94) "before all" hook: callee$1$0
4 passing (2h)
1 pending
94 failing
1) capabilities should contain server details:
Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at Instruments.launch$ (lib/instruments.js:210:15)
at tryCatch (node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (node_modules/babel-runtime/regenerator/runtime.js:136:37)
at bound (domain.js:287:14)
at GeneratorFunctionPrototype.runBound (domain.js:300:12)
at run (node_modules/core-js/library/modules/es6.promise.js:104:47)
at node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (node_modules/core-js/library/modules/$.microtask.js:19:5)
2) driver should start:
Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at Instruments.launch$ (lib/instruments.js:210:15)
at tryCatch (node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (node_modules/babel-runtime/regenerator/runtime.js:136:37)
at bound (domain.js:287:14)
at GeneratorFunctionPrototype.runBound (domain.js:300:12)
at run (node_modules/core-js/library/modules/es6.promise.js:104:47)
at node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (node_modules/core-js/library/modules/$.microtask.js:19:5)
3) commands - logging getLog success "before all" hook: callee$3$0:
Error: We exceeded the number of retries allowed for instruments to successfully start; failing launch
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at Instruments.launch$ (lib/instruments.js:210:15)
at tryCatch (node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (node_modules/babel-runtime/regenerator/runtime.js:136:37)
at bound (domain.js:287:14)
at GeneratorFunctionPrototype.runBound (domain.js:300:12)
at run (node_modules/core-js/library/modules/es6.promise.js:104:47)
at node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (node_modules/core-js/library/modules/$.microtask.js:19:5)
4) testapp - active "before all" hook: callee$1$0:
Error: The desired capabilities must include either an app or a bundleId for iOS
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at IosDriver.validateDesiredCaps (lib/driver.js:383:14)
at IosDriver.callee$0$0$ (lib/commands/session.js:13:8)
at tryCatch (node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at invoke (node_modules/babel-runtime/regenerator/runtime.js:136:37)
at bound (domain.js:287:14)
at runBound (domain.js:300:12)
at enqueueResult (node_modules/babel-runtime/regenerator/runtime.js:185:17)
at new Promise (node_modules/core-js/library/modules/es6.promise.js:197:7)
at AsyncIterator.enqueue (node_modules/babel-runtime/regenerator/runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at Object.runtime.async (node_modules/babel-runtime/regenerator/runtime.js:209:12)
at IosDriver.callee$0$0 [as createSession] (lib/commands/session.js:8:46)
at IosDriver.createSession$ (lib/driver.js:41:16)
5) testapp - clear "before all" hook: callee$1$0:
Error: The desired capabilities must include either an app or a bundleId for iOS
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at IosDriver.validateDesiredCaps (lib/driver.js:383:14)
at IosDriver.callee$0$0$ (lib/commands/session.js:13:8)
at tryCatch (node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at invoke (node_modules/babel-runtime/regenerator/runtime.js:136:37)
at bound (domain.js:287:14)
at runBound (domain.js:300:12)
at enqueueResult (node_modules/babel-runtime/regenerator/runtime.js:185:17)
at new Promise (node_modules/core-js/library/modules/es6.promise.js:197:7)
at AsyncIterator.enqueue (node_modules/babel-runtime/regenerator/runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at Object.runtime.async (node_modules/babel-runtime/regenerator/runtime.js:209:12)
at IosDriver.callee$0$0 [as createSession] (lib/commands/session.js:8:46)
at IosDriver.createSession$ (lib/driver.js:41:16)
6) testapp - context methods "before all" hook: callee$1$0:
Error: The desired capabilities must include either an app or a bundleId for iOS
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at IosDriver.validateDesiredCaps (lib/driver.js:383:14)
at IosDriver.callee$0$0$ (lib/commands/session.js:13:8)
at tryCatch (node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at invoke (node_modules/babel-runtime/regenerator/runtime.js:136:37)
at bound (domain.js:287:14)
at runBound (domain.js:300:12)
at enqueueResult (node_modules/babel-runtime/regenerator/runtime.js:185:17)
at new Promise (node_modules/core-js/library/modules/es6.promise.js:197:7)
at AsyncIterator.enqueue (node_modules/babel-runtime/regenerator/runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at Object.runtime.async (node_modules/babel-runtime/regenerator/runtime.js:209:12)
at IosDriver.callee$0$0 [as createSession] (lib/commands/session.js:8:46)
at IosDriver.createSession$ (lib/driver.js:41:16)
7) testapp - device invalid deviceName @skip-real-device should fail gracefully with an invalid deviceName:
AssertionError: expected promise to be rejected with an error matching /Could not find a device to launch/ but got 'Error: The desired capabilities must include either an app or a bundleId for iOS'
8) testapp - device generic deviceName should work with a generic iPhone deviceName:
Error: The desired capabilities must include either an app or a bundleId for iOS
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at IosDriver.validateDesiredCaps (lib/driver.js:383:14)
at IosDriver.callee$0$0$ (lib/commands/session.js:13:8)
at tryCatch (node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at invoke (node_modules/babel-runtime/regenerator/runtime.js:136:37)
at bound (domain.js:287:14)
at runBound (domain.js:300:12)
at enqueueResult (node_modules/babel-runtime/regenerator/runtime.js:185:17)
at new Promise (node_modules/core-js/library/modules/es6.promise.js:197:7)
at AsyncIterator.enqueue (node_modules/babel-runtime/regenerator/runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at Object.runtime.async (node_modules/babel-runtime/regenerator/runtime.js:209:12)
at IosDriver.callee$0$0 [as createSession] (lib/commands/session.js:8:46)
at IosDriver.createSession$ (lib/driver.js:41:16)
9) testapp - device generic deviceName should work with a generic iPad deviceName:
Error: The desired capabilities must include either an app or a bundleId for iOS
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at IosDriver.validateDesiredCaps (lib/driver.js:383:14)
at IosDriver.callee$0$0$ (lib/commands/session.js:13:8)
at tryCatch (node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at invoke (node_modules/babel-runtime/regenerator/runtime.js:136:37)
at bound (domain.js:287:14)
at runBound (domain.js:300:12)
at enqueueResult (node_modules/babel-runtime/regenerator/runtime.js:185:17)
at new Promise (node_modules/core-js/library/modules/es6.promise.js:197:7)
at AsyncIterator.enqueue (node_modules/babel-runtime/regenerator/runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at Object.runtime.async (node_modules/babel-runtime/regenerator/runtime.js:209:12)
at IosDriver.callee$0$0 [as createSession] (lib/commands/session.js:8:46)
at IosDriver.createSession$ (lib/driver.js:41:16)
10) testapp - device real device shouldn't try to validate against sims:
AssertionError: expected promise to be rejected with an error matching /ideviceinstaller/ but got 'Error: The desired capabilities must include either an app or a bundleId for iOS'
11) testapp - find element "before all" hook: callee$1$0:
Error: The desired capabilities must include either an app or a bundleId for iOS
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at IosDriver.validateDesiredCaps (lib/driver.js:383:14)
at IosDriver.callee$0$0$ (lib/commands/session.js:13:8)
at tryCatch (node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at invoke (node_modules/babel-runtime/regenerator/runtime.js:136:37)
at bound (domain.js:287:14)
at runBound (domain.js:300:12)
at enqueueResult (node_modules/babel-runtime/regenerator/runtime.js:185:17)
at new Promise (node_modules/core-js/library/modules/es6.promise.js:197:7)
at AsyncIterator.enqueue (node_modules/babel-runtime/regenerator/runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at Object.runtime.async (node_modules/babel-runtime/regenerator/runtime.js:209:12)
at IosDriver.callee$0$0 [as createSession] (lib/commands/session.js:8:46)
at IosDriver.createSession$ (lib/driver.js:41:16)
12) testapp - get attribute "before all" hook: callee$1$0:
Error: The desired capabilities must include either an app or a bundleId for iOS
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at IosDriver.validateDesiredCaps (lib/driver.js:383:14)
at IosDriver.callee$0$0$ (lib/commands/session.js:13:8)
at tryCatch (node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at invoke (node_modules/babel-runtime/regenerator/runtime.js:136:37)
at bound (domain.js:287:14)
at runBound (domain.js:300:12)
at enqueueResult (node_modules/babel-runtime/regenerator/runtime.js:185:17)
at new Promise (node_modules/core-js/library/modules/es6.promise.js:197:7)
at AsyncIterator.enqueue (node_modules/babel-runtime/regenerator/runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at Object.runtime.async (node_modules/babel-runtime/regenerator/runtime.js:209:12)
at IosDriver.callee$0$0 [as createSession] (lib/commands/session.js:8:46)
at IosDriver.createSession$ (lib/driver.js:41:16)
13) testapp - keyboard typing with strategy: undefined "before all" hook: callee$1$0:
Error: The desired capabilities must include either an app or a bundleId for iOS
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at IosDriver.validateDesiredCaps (lib/driver.js:383:14)
at IosDriver.callee$0$0$ (lib/commands/session.js:13:8)
at tryCatch (node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at invoke (node_modules/babel-runtime/regenerator/runtime.js:136:37)
at bound (domain.js:287:14)
at runBound (domain.js:300:12)
at enqueueResult (node_modules/babel-runtime/regenerator/runtime.js:185:17)
at new Promise (node_modules/core-js/library/modules/es6.promise.js:197:7)
at AsyncIterator.enqueue (node_modules/babel-runtime/regenerator/runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at Object.runtime.async (node_modules/babel-runtime/regenerator/runtime.js:209:12)
at IosDriver.callee$0$0 [as createSession] (lib/commands/session.js:8:46)
at IosDriver.createSession$ (lib/driver.js:41:16)
14) testapp - keyboard typing with strategy: oneByOne "before all" hook: callee$1$0:
Error: The desired capabilities must include either an app or a bundleId for iOS
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at IosDriver.validateDesiredCaps (lib/driver.js:383:14)
at IosDriver.callee$0$0$ (lib/commands/session.js:13:8)
at tryCatch (node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at invoke (node_modules/babel-runtime/regenerator/runtime.js:136:37)
at bound (domain.js:287:14)
at runBound (domain.js:300:12)
at enqueueResult (node_modules/babel-runtime/regenerator/runtime.js:185:17)
at new Promise (node_modules/core-js/library/modules/es6.promise.js:197:7)
at AsyncIterator.enqueue (node_modules/babel-runtime/regenerator/runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at Object.runtime.async (node_modules/babel-runtime/regenerator/runtime.js:209:12)
at IosDriver.callee$0$0 [as createSession] (lib/commands/session.js:8:46)
at IosDriver.createSession$ (lib/driver.js:41:16)
15) testapp - keyboard typing with strategy: grouped "before all" hook: callee$1$0:
Error: The desired capabilities must include either an app or a bundleId for iOS
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at IosDriver.validateDesiredCaps (lib/driver.js:383:14)
at IosDriver.callee$0$0$ (lib/commands/session.js:13:8)
at tryCatch (node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at invoke (node_modules/babel-runtime/regenerator/runtime.js:136:37)
at bound (domain.js:287:14)
at runBound (domain.js:300:12)
at enqueueResult (node_modules/babel-runtime/regenerator/runtime.js:185:17)
at new Promise (node_modules/core-js/library/modules/es6.promise.js:197:7)
at AsyncIterator.enqueue (node_modules/babel-runtime/regenerator/runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
at Object.runtime.async (node_modules/babel-runtime/regenerator/runtime.js:209:12)
at IosDriver.callee$0$0 [as createSession] (lib/commands/session.js:8:46)
at IosDriver.createSession$ (lib/driver.js:41:16)
Satyajits-iMac:appium-ios-driver malugus$ xcrun simctl list
== Device Types ==
iPhone 4s (com.apple.CoreSimulator.SimDeviceType.iPhone-4s)
iPhone 5 (com.apple.CoreSimulator.SimDeviceType.iPhone-5)
iPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s)
iPhone 6 (com.apple.CoreSimulator.SimDeviceType.iPhone-6)
iPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus)
iPhone 6s (com.apple.CoreSimulator.SimDeviceType.iPhone-6s)
iPhone 6s Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus)
iPad 2 (com.apple.CoreSimulator.SimDeviceType.iPad-2)
iPad Retina (com.apple.CoreSimulator.SimDeviceType.iPad-Retina)
iPad Air (com.apple.CoreSimulator.SimDeviceType.iPad-Air)
iPad Air 2 (com.apple.CoreSimulator.SimDeviceType.iPad-Air-2)
iPad Pro (com.apple.CoreSimulator.SimDeviceType.iPad-Pro)
Apple TV 1080p (com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p)
Apple Watch - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-38mm)
Apple Watch - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-42mm)
== Runtimes ==
iOS 9.2 (9.2 - 13C75) (com.apple.CoreSimulator.SimRuntime.iOS-9-2)
tvOS 9.1 (9.1 - 13U79) (com.apple.CoreSimulator.SimRuntime.tvOS-9-1)
watchOS 2.1 (2.1 - 13S660) (com.apple.CoreSimulator.SimRuntime.watchOS-2-1)
== Devices ==
-- iOS 9.2 --
iPhone 4s (36773445-64AC-4A82-855D-E0249D28ABD0) (Shutdown)
iPhone 5 (C484880C-8776-4855-BD68-B55083945F1E) (Shutdown)
iPhone 5s (565FA2E8-4892-4D5B-845F-F712BB9E048C) (Shutdown)
iPhone 6 (305EF0DD-CD40-4D17-AEED-3AA14E26F167) (Shutdown)
iPhone 6 Plus (FA16860A-4C2E-4B3F-85C6-8961ED97306A) (Shutdown)
iPhone 6s (CFA0319C-3F40-4FE8-9D5C-30DD91FF198F) (Shutdown)
iPhone 6s Plus (3E3915D9-42E0-4387-908C-8802F9B7EB09) (Booted)
iPad 2 (C593E427-E245-464D-A8A6-019742139EF9) (Shutdown)
iPad Retina (611A0478-ECD3-4043-9415-223F458C64B0) (Shutdown)
iPad Air (7069A1D0-C020-4507-8574-7FCD4EE32E99) (Shutdown)
iPad Air 2 (C1D98C67-C868-4DE4-9D52-6B809B06D279) (Shutdown)
iPad Pro (0B734321-FF05-4C5B-8279-D65B4CECC69B) (Shutdown)
-- tvOS 9.1 --
Apple TV 1080p (8DA8082D-BA92-49FE-B7C5-BAD0C922C268) (Shutdown)
-- watchOS 2.1 --
Apple Watch - 38mm (30DB6DFB-BDB9-4D3F-80E7-E8ABE496B41D) (Shutdown)
Apple Watch - 42mm (2D1BA038-6B97-4E6A-945A-D7489C1D13D6) (Shutdown)
== Device Pairs ==
0FBD6CFE-52A6-40DC-918F-7787842A6D12 (disconnected)
Watch: Apple Watch - 38mm (30DB6DFB-BDB9-4D3F-80E7-E8ABE496B41D) (Shutdown)
Phone: iPhone 6s (CFA0319C-3F40-4FE8-9D5C-30DD91FF198F) (Shutdown)
E3337B53-13B9-46DD-8410-59D222D08FED (disconnected)
Watch: Apple Watch - 42mm (2D1BA038-6B97-4E6A-945A-D7489C1D13D6) (Shutdown)
Phone: iPhone 6s Plus (3E3915D9-42E0-4387-908C-8802F9B7EB09) (Booted)
Satyajits-iMac:appium-ios-driver malugus$ xcrun simctl create "iPhone 6" "iPhone 6" 9.2
C7AAD73C-E9D7-4556-975C-61294707C6AE
Satyajits-iMac:appium-ios-driver malugus$ DEVICE=ios9 gulp e2e-test
[21:50:13] Using gulpfile ~/Code/appium-ios-driver/gulpfile.js
[21:50:13] Starting 'transpile'...
^C
Satyajits-iMac:appium-ios-driver malugus$ DEVICE=ios92 gulp e2e-test
[21:50:20] Using gulpfile ~/Code/appium-ios-driver/gulpfile.js
[21:50:20] Starting 'transpile'...
[21:50:26] Finished 'transpile' after 5.99 s
[21:50:26] Starting 'e2e-test'...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment