Commit Graph

2662 Commits

Author SHA1 Message Date
Jonathan Lipps 9d323a3a35 move logic common to devices into devices dir 2013-10-17 10:30:11 -07:00
Jonathan Lipps ff5bf6b4cc put devices in their own place 2013-10-17 10:30:11 -07:00
Jonathan Lipps 2878e62aa5 move more functionality into server/ 2013-10-17 10:30:11 -07:00
Jonathan Lipps 31c49f590d move server-related stuff into lib/server 2013-10-17 10:30:11 -07:00
Jonathan Lipps f6a4940fc0 update gitignore and npmignore with new directory structure 2013-10-17 10:30:10 -07:00
Jonathan Lipps 02529b974c move helper jars to a more reasonable place 2013-10-17 10:30:10 -07:00
Jonathan Lipps d9604cacdf get rid of unused and confusing instruments example 2013-10-17 10:30:10 -07:00
Jonathan Lipps 3eee9d8a61 move code into lib/ like a normal node project 2013-10-17 10:30:10 -07:00
Jonathan Lipps 8f4c01af2c update safarilauncher steps in reset.sh
cc @snevesbarros
2013-10-17 10:30:09 -07:00
Jonathan Lipps d0774ea4dc make some files pass the linter 2013-10-17 10:30:09 -07:00
Jonathan Lipps 0f9ecc0e4b upgrade linter and ignore un-linted files rather than specifying linted files 2013-10-17 10:30:08 -07:00
Jonathan Lipps 5de696edaa fix typo in mobile web docs 2013-10-17 10:30:08 -07:00
Jonathan Lipps d8b696d5ce move unit tests into the test/ directory where tests belong 2013-10-17 10:30:08 -07:00
bootstraponline 7bcdca749d Merge pull request #1316 from paymand/adb_clear
Clean the app using 'adb shell pm clear <package-name>'.
2013-10-17 07:08:47 -07:00
Payman Delshad 2ae9b5a514 Clean the app using 'adb shell pm clear <package-name>'.
For a faster reset use 'adb clear' command instead of
uninstall/install every time.
2013-10-17 15:40:39 +02:00
Jonathan Lipps c98a005786 Merge pull request #1244 from snevesbarros/safari_solution
Running tests against Safari using the SafariLauncher app
2013-10-16 10:41:47 -07:00
Sergio Neves Barros 36f296a908 Added SafariLauncher as a submodule and as part of the build. App is then zipped and copied to the build folder. 2013-10-16 17:26:59 +01:00
Jonathan Lipps 626d264348 Merge pull request #1187 from swapna-chennadi/master
Fix to create unique temporary directory to place downloaded and unzipped files
2013-10-16 08:46:56 -07:00
Swapna Chennadi f7cbf6afc9 Renamed file_helper.js to tempdir.js 2013-10-16 16:27:45 +01:00
Sergio Neves Barros cfaba9def2 removed undefined check 2013-10-16 15:18:33 +01:00
Sergio Neves Barros 7a5dcad530 Merge branch 'safari_solution' of https://github.com/snevesbarros/appium into safari_solution 2013-10-16 14:55:14 +01:00
Sergio Neves Barros edc14fd91f fix for running safari launcher tests on simulator 2013-10-16 14:36:13 +01:00
Sergio Neves Barros 3b0b6b351f Added solution which allows you to run tests against safari without 20-30 seconds time out using appium. 2013-10-16 14:36:13 +01:00
Jonathan Lipps e17db0f126 Merge pull request #1298 from dandover/alert-title+text
change alert.text to return both title + text
2013-10-15 19:30:04 -07:00
Dan Dover 15095b0814 Alert Updates
* change alert.text to return both title + text
* update tests
2013-10-15 19:26:42 -07:00
Jonathan Lipps a8797e06e6 changelog and bump version for publish 0.10.4 v0.10.4 2013-10-15 15:22:36 -07:00
Jonathan Lipps 45bf421353 Merge pull request #1314 from snevesbarros/multi-webview-1279
Fix for 1279 by adding call back on socket disconnect.
2013-10-15 11:40:59 -07:00
Sergio Neves Barros 7601dc9e1c Add a call back for socket disconnect so that we wait for socket to fully disconnect before trying to reconnect. 2013-10-15 18:02:46 +01:00
bootstraponline 1fd5822c93 Merge pull request #1313 from paymand/orientation_busy_wait
Added a timeout (2s) for orientation change on Android.
2013-10-15 08:13:20 -07:00
Payman Delshad cc11db88f8 Added a timeout (2s) for orientation change on Android.
When changing orientation on Android, return error only if
the orientation change has not taken effect after timeout (2s).
2013-10-15 15:42:30 +02:00
Jonathan Lipps 58708a9640 Merge pull request #1312 from bootstraponline/fix_regex
Allow _ in package name
2013-10-14 19:11:18 -07:00
bootstraponline 6564fa5d83 Allow _ in package name
Fix #1311
2013-10-14 22:05:45 -04:00
Jonathan Lipps 63bd9f7556 changelog and bump for publish 0.10.3 v0.10.3 2013-10-14 09:51:51 -07:00
Jonathan Lipps 8f1c352e39 make sure we publish compiling with xcode5 2013-10-14 09:51:39 -07:00
Jonathan Lipps 4388d7c279 authorization already having happened is not a fatal error 2013-10-11 16:58:14 -07:00
Jonathan Lipps 3da96ea93f Merge pull request #1299 from dandover/autoAcceptAlerts
Remove Alert Handling in iOS
2013-10-11 16:35:04 -07:00
Dan Dover 29aa03b53d Remove Alert Handling in Appium
This patchset removes support for Appium auto-accepting or
dismissing of alerts, specifically the useLocationServices
alert.
2013-10-11 16:17:44 -07:00
filmaj c16dcf24d2 typo fix 2013-10-11 16:10:25 -07:00
Jonathan Lipps 3b103c81a9 changelog and bump to 0.10.2 for publish v0.10.2 2013-10-11 16:00:53 -07:00
Jonathan Lipps f92cfd73f5 fix pinchopen/close regression on ios from android changes 2013-10-11 15:49:10 -07:00
filmaj b5e3c1de72 Fixed links in README.md & CONTRIBUTING.md 2013-10-11 15:37:11 -07:00
bootstraponline bc5d5142df Merge pull request #1287 from filmaj/docs-rehash
README review
2013-10-11 15:09:36 -07:00
filmaj e63144f750 README rehash. put platform requirements together in readme. split out contribution / hacking documentation into its own CONTRIBUTING.md. Used absolute URLs for links (as they may be linked from npmjs.org). changed contribution section regarding running tests to highlight use of test.sh instead of grunt. 2013-10-11 14:51:20 -07:00
Jonathan Lipps cb6a58f964 Merge pull request #1297 from bootstraponline/new_android_reset
Android mobile :reset now uses adb uninstall/pm install
2013-10-10 18:02:55 -07:00
bootstraponline 554967bc9f Merge pull request #1300 from dandover/waitForAlertToClose-bug
refresh the value of alert so we don't always delay
2013-10-09 19:05:22 -07:00
Dan Dover 4eb8f20554 fix a bug where we always wait for the delay because we never refresh the value of alert 2013-10-09 18:17:51 -07:00
bootstraponline 5965ef39fd Android mobile :reset now uses adb uninstall/pm install
The old clean.apk approach to resetting state doesn't work well. Using
instrumentation means the app is running when the data is deleted. It's better
to use the standard adb install/uninstall commands.

To make this faster, the apk is pushed to the device once (/data/local/tmp/) and
then installed from that location on each reset. Using the regular adb install
command is slow due to the file transfer speed.

Before uninstalling the app, it's stopped to prevent crashes. Some apps don't
like to be uninstalled while running.
2013-10-09 15:21:21 -04:00
bootstraponline 360f2e48e0 Merge pull request #1290 from jlipps/master
enable authorize on mavericks
2013-10-08 20:57:31 -07:00
Jonathan Lipps 580f56279c enable authorize on mavericks 2013-10-08 18:10:49 -07:00
Jonathan Lipps 2be3dd53fc Merge pull request #1286 from jlipps/master
don't unfreezerotation, it actually cancels the rotation (fix #1280)
2013-10-08 18:09:59 -07:00