Commit Graph

12290 Commits

Author SHA1 Message Date
Jonathan Lipps c3e5745d0c more refactoring of adb 2013-04-11 13:35:23 -07:00
Jonathan Lipps c735dd4289 moar series refactorz 2013-04-11 13:35:23 -07:00
Jonathan Lipps 09b268063a well looks like i can't get _too_ elegant 2013-04-11 13:35:23 -07:00
Jonathan Lipps 0a40716f34 man were we doing it wrong with async, this feels so good 2013-04-11 13:35:23 -07:00
Jonathan Lipps c7dbf2b09a add concept of different system vs device ports 2013-04-11 13:35:23 -07:00
Jonathan Lipps aad0c35e97 wow this is the way to do async series! 2013-04-11 13:35:23 -07:00
Jonathan Lipps 9c8eeb3488 make it even more compact 2013-04-11 13:35:23 -07:00
Jonathan Lipps 204580f221 more async compactification 2013-04-11 13:35:22 -07:00
Jonathan Lipps a0e20265ba fix callback return error and prettify async series cb 2013-04-11 13:35:22 -07:00
Jonathan Lipps 67ee6a79b8 factor out device preparation logic so it can be reused 2013-04-11 13:35:22 -07:00
Jonathan Lipps fcb310b81c rename adb.start to adb.startAppium because there will be other kinds 2013-04-11 13:35:22 -07:00
Jonathan Lipps eec4122525 use camel case 2013-04-11 13:35:22 -07:00
Jonathan Lipps e59e703c0a get selendroid server built and ready to install 2013-04-11 13:35:22 -07:00
Jonathan Lipps 536243ae68 getting some of the test setup going for selendroid 2013-04-11 13:35:22 -07:00
Jonathan Lipps 43e3cfebcf stub out selendroid.js 2013-04-11 13:35:22 -07:00
Jonathan Lipps 7631fb7f75 reset.sh for selendroid 2013-04-11 13:35:22 -07:00
Jonathan Lipps 649599a96c add selendroid submodule 2013-04-11 13:35:22 -07:00
Jonathan Lipps e580ddd873 Merge pull request #431 from bootstraponline/update_jar
Update verify.jar to work on Java 6
2013-04-11 13:32:42 -07:00
bootstraponline 01d072dfe3 Update verify.jar to work on Java 6 2013-04-11 16:31:26 -04:00
Jason Carr fe0ce92434 Merge pull request #428 from jlipps/master
beefify installAndroidApp
2013-04-10 16:37:01 -07:00
Jonathan Lipps 7045a05f41 update installAndroidApp to first uninstall app (fix #424) 2013-04-10 16:35:33 -07:00
Jason Carr 4d0fcd1648 Merge pull request #427 from jlipps/master
android getCurrentActivity
2013-04-10 16:13:30 -07:00
Jonathan Lipps e4ef293581 enable getting current android activity (fixes #358) 2013-04-10 15:16:14 -07:00
Jonathan Lipps fd27a8fdc6 factor out package/activity detection 2013-04-10 15:16:14 -07:00
Jonathan Lipps 29992c7a7d if we call startApp here we'll call it again in the main flow 2013-04-10 15:16:14 -07:00
Jason Carr 5387db887c Merge pull request #425 from jlipps/master
allow reset.sh to be called with --android or --ios if you only care about that platform
2013-04-10 14:25:28 -07:00
Jonathan Lipps 8649a05476 rewrite reset.sh so it can be run with --android or --ios flags
Fix #423
2013-04-10 14:22:22 -07:00
Jonathan Lipps 7b11123454 Merge pull request #420 from mutualmobile/android_orientation_fixes
Android orientation fixes
2013-04-10 13:53:59 -07:00
Jonathan Lipps 42212c2c5b Merge pull request #421 from bootstraponline/fix_reset
Add sudo fallback to reset.sh
2013-04-10 13:48:49 -07:00
xuru 3c5825db83 Implemented orientation uiautomation support. Tested it with android settings app, but both apps I tested it with was forced to an orientation, so couldn't test on a user app. Also added a mocha test. 2013-04-10 15:38:50 -05:00
bootstraponline 75de64a8a9 Add @jlipps code from #415 2013-04-10 15:44:50 -04:00
Jason Carr 682b5008b0 Merge pull request #422 from jlipps/master
fix some async.series bugs
2013-04-10 12:29:59 -07:00
Jonathan Lipps 1c2650172f Nota Bene: if you use async.series with default callback:
you MUST pass err to that callback if you want errors to propagate.
Fix #410
2013-04-10 12:18:24 -07:00
bootstraponline 35b9302518 Add sudo fallback to reset.sh
Fix #415
2013-04-10 14:17:21 -04:00
Jonathan Lipps 1b332f5fc5 test to prove you can find alert by tag name (closes #395) 2013-04-09 16:23:07 -07:00
Jason Carr dfde8de1a0 Merge pull request #413 from jlipps/master
fix grunt functional test crashes
2013-04-09 16:04:36 -07:00
Jonathan Lipps 172311a014 Merge pull request #412 from bootstraponline/fix_quote
Fix quote
2013-04-09 16:01:18 -07:00
bootstraponline 0143594fc3 Fix debug comment 2013-04-09 18:58:40 -04:00
Jonathan Lipps 719e56fb81 fix grunt functional behavior to not crash when a test fails 2013-04-09 15:55:35 -07:00
bootstraponline 5a0676bbbb Fix quote 2013-04-09 18:42:49 -04:00
Jason Carr 4d93460af9 Merge pull request #411 from jlipps/master
fix mobile: find tests
2013-04-09 12:21:35 -07:00
Jonathan Lipps b466e47dcd update testapp project properties 2013-04-09 12:14:04 -07:00
Jonathan Lipps cc249fc7d8 remove stray console log 2013-04-09 12:13:42 -07:00
Jonathan Lipps 91c4e05e60 safe javascriptage 2013-04-09 12:02:35 -07:00
Jonathan Lipps 5640b621a3 need extra brackets for these tests to pass (fixes #408) 2013-04-09 12:02:34 -07:00
Jonathan Lipps a6ee285d99 Merge pull request #409 from bootstraponline/sign_fix
Check that clean apk is signed
2013-04-09 12:01:31 -07:00
bootstraponline b4d55ba286 Check that clean apk is signed
Before we assumed that the clean apk was properly signed if it existed.
Now we check that the signature is correct and resign it automatically.
2013-04-09 14:57:54 -04:00
Jonathan Lipps 21515cb523 Merge pull request #398 from bootstraponline/dynamic_android
Add Android dynamic find
2013-04-09 10:36:00 -07:00
bootstraponline ef9cc950a0 Fix find 2013-04-09 13:09:58 -04:00
bootstraponline 6cac504896 Fix Eclipse warnings
Target Java 1.6 not 1.5
2013-04-09 12:18:31 -04:00