{"_id":"@awam/ti.appium","_rev":"3-0fb71d05b61f8f4e07f23afe76a78eaa","name":"@awam/ti.appium","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@awam/ti.appium","version":"0.1.0","description":"Plugin for using appium as part of the Titanium build process","author":{"name":"Ewan Harris","email":"ewanharris93@gmail.com"},"license":"MIT","keywords":["appium","titanium","automation"],"bin":{"tiappium-init-hook":"./bin/tiappium-init-hook.js","tiappium-init-project":"./bin/tiappium-init-project.js"},"dependencies":{"appium":"^1.7.2","debug":"^3.1.0","fs-extra":"^5.0.0","mocha":"^5.0.4","node-fetch":"^2.1.1","semver":"^5.5.0","wd":"^1.6.1","webdriverio":"^4.12.0"},"devDependencies":{"eslint":"^4.18.2","eslint-config-axway":"^2.0.12"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint ."},"homepage":"https://github.com/ewanharris/ti.appium","bugs":{"url":"https://github.com/ewanharris/ti.appium/issues"},"repository":{"type":"git","url":"git://github.com/ewanharris/tiappium.git"},"engines":{"node":">=8.10.0"},"gitHead":"329038466a331fdbf8240ebc43e422b0432a3e08","_id":"@awam/ti.appium@0.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"awam","email":"ewanharris93@gmail.com"},"dist":{"integrity":"sha512-Wt4DdYJmHrz+Zs9w4Wdu0wF4rqhtc40dnLyumyNWuYBeXH0t+9jTGqze5fmRkc6G0Lkj5ZrbQRPmkV50wN8x+w==","shasum":"bc252985e55e1d684b516be82236f9f9e9eb2f97","tarball":"https://registry.npmjs.org/@awam/ti.appium/-/ti.appium-0.1.0.tgz","fileCount":13,"unpackedSize":21891,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGTbDi5PcFsD82Y9BsteVC8iaemS/DNHe+Tda5Rco24wAiEA267yKeY7H1yfqMzU5ehJUhqEBipKJV6WERn7lXPUdNY="}]},"maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ti.appium_0.1.0_1521674777824_0.2949647361260601"},"_hasShrinkwrap":false},"0.1.1":{"name":"@awam/ti.appium","version":"0.1.1","description":"Plugin for using appium as part of the Titanium build process","author":{"name":"Ewan Harris","email":"ewanharris93@gmail.com"},"license":"MIT","keywords":["appium","titanium","automation"],"bin":{"tiappium-init-hook":"./bin/tiappium-init-hook.js","tiappium-init-project":"./bin/tiappium-init-project.js"},"dependencies":{"appium":"^1.7.2","debug":"^3.1.0","fs-extra":"^5.0.0","mocha":"^5.0.4","node-fetch":"^2.1.1","semver":"^5.5.0","wd":"^1.6.1","webdriverio":"^4.12.0"},"devDependencies":{"eslint":"^4.18.2","eslint-config-axway":"^2.0.12"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","lint":"eslint ."},"homepage":"https://github.com/ewanharris/ti.appium","bugs":{"url":"https://github.com/ewanharris/ti.appium/issues"},"repository":{"type":"git","url":"git://github.com/ewanharris/tiappium.git"},"engines":{"node":">=8.10.0"},"gitHead":"1546fdf3055c50c3af74d3d5c09909469ff0ccd6","_id":"@awam/ti.appium@0.1.1","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"awam","email":"ewanharris93@gmail.com"},"dist":{"integrity":"sha512-gISscX75vzA6blLf91B+TGXTaP1Nkaw1umlxf4V8ty5AAQL9YgjfDZlIHPhYdnam+XxX5P6NtR8uhDIwA3PFPw==","shasum":"170c71b03654787f17c96c04ec46e8f74734dafc","tarball":"https://registry.npmjs.org/@awam/ti.appium/-/ti.appium-0.1.1.tgz","fileCount":13,"unpackedSize":22079,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnGPiIUYQyLLBK11C0KKa0l0Op6M6E+QugdU1kfNqRtgIgQF4qkF7VVuVrxMAEPlAyegPKvVqngrTdE7ZHBfFP914="}]},"maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ti.appium_0.1.1_1521679471504_0.7340970028907379"},"_hasShrinkwrap":false}},"time":{"created":"2018-03-21T23:26:17.725Z","0.1.0":"2018-03-21T23:26:17.973Z","modified":"2022-04-04T16:49:20.809Z","0.1.1":"2018-03-22T00:44:31.579Z"},"maintainers":[{"name":"awam","email":"ewanharris93@gmail.com"}],"description":"Plugin for using appium as part of the Titanium build process","homepage":"https://github.com/ewanharris/ti.appium","keywords":["appium","titanium","automation"],"repository":{"type":"git","url":"git://github.com/ewanharris/tiappium.git"},"author":{"name":"Ewan Harris","email":"ewanharris93@gmail.com"},"bugs":{"url":"https://github.com/ewanharris/ti.appium/issues"},"license":"MIT","readme":"# ti.appium\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n\n\n***Warning this project is purely for investigatory purposes in my own time, so please do not expect any advanced support other than being pointed to examples. However, if you do use it, awesome! :)***\n\nThis is a Titanium CLI hook, that abstracts away the need for managing appium, webdriver bindings etc (all the horrible bits) when doing UI automation. All you need to worry about is deciding your webdriver package, and writing your tests. \n\n- If you can think of any features that you'd like, file an issue. But there are no guarantees it would be implemented.\n- If you find bugs, please file an issue, with as much information as you can.\n- If you'd like to contribute, message me on [ti-slack](http://tislack.org/). \n\n## Usage\n\n### Getting started\n\nTo get started:\n\n1. Install the package using `[sudo] npm install -g @awam/ti.appium`\n    - This will install the package for use\n2. Run `tiappium-init-hook`\n    - This will add the CLI hook into your Titanium config\n3. Run `tiappium-init-project`(In a Titanium project root) \n\t- This will copy across a basic template into your project.\n\n### Writing tests\n\n- You can choose from two webdriver implementations [wd](http://admc.io/wd/), and [webdriverio](http://webdriver.io/). You can specify which one to use in the main config file at `e2e/config.json`,  by setting the `driver` property to either `wd` or `webdriverio`\n- There are currently two examples for the (standard Titanium template)[https://github.com/ewanharris/appium-test-repo] and [KitchenSink-v2]()\n\n\n### Running the tests\n\n- Building with the `--appium` flag with make the tests run at the end of the build process, under the hood this will add the `--build-only` flag for you as we need to hand off the app to appium for installation.\n- You will need to setup the desired targets for the platform in the platform specific config at `e2e/<platform>/config.json`, this will eventually become a CLI option too.\n- It's not pretty, but yes you do need to run the build every time. Eventually I foresee a command that is solely designed to run the tests when you're just writing tests and not actually making edits to your app.\n\n## Resources\n\n[Appium site](http://appium.io/) - Look here for getting started tips, you do not need to install appium itself as it is contained in this package.\n[appium-doctor](https://www.npmjs.com/package/appium-doctor) - Check if you're actually set up for doing this\n[wd](http://admc.io/wd/) - One of the possible binding choices\n[webdriverio](http://webdriver.io/) - The other binding choice\n\n ## Possible plans\n\nThis is just a brain dump of stuff that I'd like to try and implement, it should probably become GitHub issues.\n\n- `ti appium` command that will only run the tests with the existing app.\n- Maybe move the webdriver/appium packages out of the dependencies and into peerDependencies/the app\n    - It takes forever to install this package (`added 1809 packages in 360.666s`....)\n    - It's all overridable anyway\n\n[npm-image]: https://img.shields.io/npm/v/@awam/ti.appium.svg\n[npm-url]: https://npmjs.org/package/@awam/ti.appium\n[downloads-image]: https://img.shields.io/npm/dm/@awam/ti.appium.svg\n[downloads-url]: https://npmjs.org/package/@awam/ti.appium\n","readmeFilename":"README.md"}