appium / ios-test-app Goto Github PK
View Code? Open in Web Editor NEWiOS app for testing
License: Apache License 2.0
iOS app for testing
License: Apache License 2.0
i went through all the basic setup instructions on the appium website and then found my way to this sample code to try it out.
npm install
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
[email protected] install /Users/me/Projects/ios-test-app/node_modules/fsevents
node install
[fsevents] Success: "/Users/me/Projects/ios-test-app/node_modules/fsevents/lib/binding/Release/node-v59-darwin-x64/fse.node" is installed via remote
[email protected] install /Users/me/Projects/ios-test-app
node install-npm.js
[14:53:28] cleaning apps
[14:53:31] cleaning app for iphonesimulator11.2
[14:53:32] finished cleaning app for iphonesimulator11.2
[14:53:32] finished cleaning apps
[14:53:32] building apps
[14:53:32] building app for iphonesimulator11.2
[14:53:43] finished building app for iphonesimulator11.2
[14:53:43] finished building apps
[14:53:43] renaming apps
[14:53:43] renaming for iphonesimulator
[14:53:43] finished renaming apps
finished installing
npm WARN prepublish-on-install As of npm@5, prepublish
scripts are deprecated.
npm WARN prepublish-on-install Use prepare
for build steps and prepublishOnly
for upload-only.
npm WARN prepublish-on-install See the deprecation note in npm help scripts
for more information.
[email protected] prepublish /Users/me/Projects/ios-test-app
gulp prepublish
[14:53:48] Using gulpfile ~/Projects/ios-test-app/gulpfile.js
[14:53:48] Starting 'prepublish'...
[14:53:48] Starting 'clean'...
[14:53:48] Finished 'clean' after 13 ms
[14:53:48] Starting 'transpile'...
[14:53:49] Finished 'transpile' after 138 ms
[14:53:49] Finished 'prepublish' after 154 ms
npm notice created a lockfile as package-lock.json. You should commit this file.
added 958 packages in 44.44s
me:ios-test-app me$ npm test
[email protected] test /Users/me/Projects/ios-test-app
gulp once
[14:54:14] Using gulpfile ~/Projects/ios-test-app/gulpfile.js
[14:54:14] Starting 'once'...
[14:54:14] Starting 'clean'...
[14:54:14] Finished 'clean' after 64 ms
[14:54:14] Starting 'eslint'...
[14:54:16]
/Users/me/Projects/ios-test-app/index.js
1:1 error Parsing error: The keyword 'import' is reserved
/Users/me/Projects/ios-test-app/install.js
5:1 error Parsing error: The keyword 'import' is reserved
/Users/me/Projects/ios-test-app/lib/logger.js
1:1 error Parsing error: The keyword 'import' is reserved
✖ 3 problems (3 errors, 0 warnings)
events.js:137
throw er; // Unhandled 'error' event
^
ESLintError: Failed with 3 errors
npm ERR! Test failed. See above for more details.
As per instructions , I have build TestApp-iphoneos.app and try to install on real device but getting below error
error: Could not pre-launch appium: Error: Command failed: /bin/sh -c ideviceinstaller -u 6930e9e68d8fe637f29a39768f1b846a72805a96 -i /Users/vikram-anna/Documents/workspace/ios-test-app/build/Release-iphoneos/TestApp-iphoneos.app
ERROR: Install failed. Got error "ApplicationVerificationFailed" with code 0xe8008015: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.XCFbTf/extracted/TestApp-iphoneos.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)
Same as others iOS apps.
Remove grunt global dependency and invalid require(".")
🚨 You need to enable Continuous Integration on all branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial
branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.