You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2017/05/30 21:56:04 UTC

[jira] [Commented] (CB-12675) Travis xcode8.3 os_x image fails an e2e test

    [ https://issues.apache.org/jira/browse/CB-12675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030210#comment-16030210 ] 

Shazron Abdullah commented on CB-12675:
---------------------------------------

This issue is fixed in ios-sim@5.0.13
Update the bundled ios-sim

> 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: cordova-ios@4.4.1
>
>
> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org