[
https://issues.apache.org/jira/browse/CB-12675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030408#comment-16030408
]
ASF subversion and git services commented on CB-12675:
------------------------------------------------------
Commit 77b14bda7a93f44e5c94d43ac5401de595016cba in cordova-ios's branch
refs/heads/master from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=77b14bd ]
CB-12675 - Travis xcode 8.3. os-x image fails an e2e test
This closes #315
> Travis xcode8.3 os_x image fails an e2e test
> --------------------------------------------
>
> Key: CB-12675
> URL: https://issues.apache.org/jira/browse/CB-12675
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-ios
> Environment: iOS
> Reporter: Shazron Abdullah
> Assignee: Shazron Abdullah
> Fix For: [email protected]
>
>
> Update {{.travis.yml}} with {{osx_image: xcode8.3}} and you will see this
> jasmine failure:
> {code}
> Failures:
> 1) end-to-end list validation Test#008 : handles list parameter
> Message:
> Expected 'Available iOS Devices:
> TypeError: Cannot read property 'replace' of undefined
> at remove
> (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:282:70)
> at Array.forEach (native)
> at Object.getdevicetypes
> (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:292:22)
> at Object.listEmulatorImages [as run]
> (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/list-emulator-images:34:29)
> at listEmulators
> (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:208:46)
> at
> /Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:47:20
> at _fulfilled
> (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:834:54)
> at self.promiseDispatch.done
> (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:863:30)
> at Promise.promise.promiseDispatch
> (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:796:13)
> at /Users/travis/build/apache/cordova-ios/node_modules/q/q.js:604:44
> ' to match /Available iOS Simulators/.
> Stack:
> Error: Expected 'Available iOS Devices:
> TypeError: Cannot read property 'replace' of undefined
> at remove
> (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:282:70)
> at Array.forEach (native)
> at Object.getdevicetypes
> (/Users/travis/build/apache/cordova-ios/node_modules/ios-sim/src/lib.js:292:22)
> at Object.listEmulatorImages [as run]
> (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/list-emulator-images:34:29)
> at listEmulators
> (/Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:208:46)
> at
> /Users/travis/build/apache/cordova-ios/bin/templates/scripts/cordova/lib/run.js:47:20
> at _fulfilled
> (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:834:54)
> at self.promiseDispatch.done
> (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:863:30)
> at Promise.promise.promiseDispatch
> (/Users/travis/build/apache/cordova-ios/node_modules/q/q.js:796:13)
> at /Users/travis/build/apache/cordova-ios/node_modules/q/q.js:604:44
> ' to match /Available iOS Simulators/.
> at Object.<anonymous>
> (/Users/travis/build/apache/cordova-ios/tests/spec/create.spec.js:124:24)
> Ran 1 of 9 specs
> 1 spec, 1 failure
> {code}
> The same code passes on Xcode 8.3.2 when testing locally.
> https://github.com/travis-ci/travis-ci/issues?q=Xcode+8.3
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]