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/04/20 00:25:04 UTC

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

Shazron Abdullah created CB-12675:
-------------------------------------

             Summary: 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: iOS
         Environment: iOS
            Reporter: Shazron Abdullah


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}




--
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