Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
Failures: 1) cocoapod plugin add and rm end-to-end installs and uninstalls plugin depending on new pod and existing pod Message: Expected 'CocoaPods was not found. Please install version 1.0.1 or greater from https://cocoapods.org/' to be undefined. Stacktrace: Error: Expected 'CocoaPods was not found. Please install version 1.0.1 or greater from https://cocoapods.org/' to be undefined. at /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/spec-cordova/platform.spec.js:467:25 at _rejected (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:797:24) at /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:823:30 at Promise.when (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31) at Promise.promise.promiseDispatch (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:741:41) at /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:557:44 at flush (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:108:17) at process._tickCallback (node.js:415:13)
The test is now invalid, since to properly install a CocoaPod dependency in a project, cocoapods cli needs to be installed. The implementation did not check for this before (thus it didn't fail), but it does now.
There is no way to test this without CocoaPods being installed, all we can really test is if the error message is correct.
To test e2e CocoaPods, we need to separate this test as an OS X only test, and run this test on Travis CI only.
Attachments
Issue Links
- links to