[
https://issues.apache.org/jira/browse/CB-12675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030340#comment-16030340
]
ASF GitHub Bot commented on CB-12675:
-------------------------------------
GitHub user shazron opened a pull request:
https://github.com/apache/cordova-ios/pull/315
CB-12675 - Travis xcode 8.3. os-x image fails an e2e test
### Platforms affected
self
### What does this PR do?
Updates the os-x image on Travis to Xcode 8.3
### What testing has been done on this change?
this PR is the test.
### Checklist
- [X] [Reported an issue](http://cordova.apache.org/contribute/issues.html)
in the JIRA database
- [X] Commit message follows the format: "CB-3232: (android) Fix bug with
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform
affected.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shazron/cordova-ios CB-12675
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-ios/pull/315.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #315
----
commit 537397343bf72f4c00019379b122cc9e6c5eebcb
Author: Shazron Abdullah <[email protected]>
Date: 2017-05-30T23:15:11Z
CB-12675 - Travis xcode 8.3. os-x image fails an e2e test
----
> 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]