Commit Graph

12159 Commits

Author SHA1 Message Date
Eric Plaster 192667fd50 Clean up functional tests for alert detection removing the need for
the telnetclient package.

Style change
2013-05-29 17:39:46 -05:00
bootstraponline c0746cb060 Merge pull request #666 from umaar/patch-1
Use correct link for Android Prep within the readme
2013-05-29 06:24:16 -07:00
Umar Hansa e2c37f195a Use correct link for Android Prep within the readme
'Prepare your app for an Android test' was linking to an iOS section, this commit makes the link point to the Android section.
2013-05-29 14:05:24 +02:00
bootstraponline 7b9df3407e Merge pull request #664 from jlipps/master
put manifest src in build/
2013-05-28 14:29:24 -07:00
Jonathan Lipps e697fa3b5b make the change simpler, just include the file in npm 2013-05-28 13:49:34 -07:00
Jonathan Lipps e14dd0bb6d make android manifest xml src part of build/ 2013-05-28 13:04:05 -07:00
Jonathan Lipps 4a7019a3cb Merge pull request #624 from mutualmobile/websocket_notifications_for_alerts
Added changes to notify websocket listeners of alert dialogs.
2013-05-28 12:49:26 -07:00
Eric Plaster 5d7cc06ae8 Added changes to notify websocket listeners of alert dialogs.
One thing to keep in mind: iOS and Android treat dialogs differently. iOS "system" dialogs can be triggered from the application under test as well as from external sources (the system). However, Android treats dialogs as any other window. So, to make this work, the bootstrap app looks for windows with the package name of "com.android.systemui". These are dialogs that the system has instantiated, but not the app.

So, for example, if we had the same application written on both platforms, and they both had a login screen, and you click on the login button without putting in a username. On iOS, you would be notified if they used a standard system dialog, and you would not be notified on Android. However, if the system put up a low battery dialog, it would be detected on both systems.

So... The main reason for implementing this is to stop failing tests from unintentional dialogs appearing during an overnight test.

Updated call signiture to instruments.
2013-05-28 13:11:36 -05:00
bootstraponline a88963b38b Merge pull request #663 from bootstraponline/fix_reset_timing
Fix fast reset race condition
2013-05-28 10:34:21 -07:00
bootstraponline 2f2fb5480f Fix fast reset race condition
adb shell am commands return immediately, not when they're finished. am
instrument will close the app once it completes. It's possible for instrument to
be running, the am start command is issued, then instrument finishes and closes
the app. Appium is now waiting for an activity that will never appear and the
tests fail.

The fix is to only start the app once reset has closed the app.

Fixes #662
2013-05-28 13:30:17 -04:00
Jonathan Lipps d98cc86f8f Merge pull request #661 from jlipps/master
grab bag of fixes/updates
2013-05-28 10:14:02 -07:00
Jonathan Lipps 799e21daf2 update uicatalog tests to work with new uicatalog app 2013-05-28 10:06:58 -07:00
Jonathan Lipps 6f132ac549 update style guide 2013-05-28 10:06:58 -07:00
Jonathan Lipps a47ba7f273 refactor and add more logging to instruments_client.js 2013-05-28 10:06:58 -07:00
Jonathan Lipps 55805bcc5f fix isBundle regex 2013-05-28 10:06:58 -07:00
Jonathan Lipps 49ed838efb Merge pull request #657 from bootstraponline/===
Use === 1 for isVisible check
2013-05-28 08:47:23 -07:00
bootstraponline 1d90cbb9df Use === 1 for isVisible check
Fix #653
2013-05-28 11:42:49 -04:00
Dan Cuellar d9340fed30 Merge pull request #652 from penguinho/master
Implementing setLocation for iOS
2013-05-28 08:38:23 -07:00
Dan Cuellar f7b376f533 Implementing setLocation for iOS 2013-05-28 08:33:00 -07:00
Dan Cuellar eba6311b42 Updating Windows Instructions 2013-05-28 08:23:51 -07:00
bootstraponline 31a58acd06 Merge pull request #656 from snevesbarros/master
Local Grid setup documentation
2013-05-28 06:03:41 -07:00
Sergio Neves Barros 6f49f1dcbb cleanup
lined up the config file and removed blank lines.
2013-05-28 14:46:57 +02:00
Sergio Neves Barros d78711decf Update to the json config file
Updated the config file to make it clear about what to update.
2013-05-28 14:45:05 +02:00
Sergio Neves Barros 740a2c31c5 Updated description for local grid config
Added a link to all grid properties description and updated description.
2013-05-28 11:08:09 +02:00
sergio.barros f7286e075d initial commit of the grid.md 2013-05-28 09:53:50 +01:00
bootstraponline 2bdc072c1a Merge pull request #655 from snevesbarros/patch-1
ios-webkit-debug-proxy description
2013-05-27 13:23:40 -07:00
Sergio Neves Barros 1c8d80a1d4 Updated cloning description
Tried to make it a bit clearer about what brew install does and simply installing the proxy manually.
2013-05-27 22:18:52 +02:00
Sergio Neves Barros f47b7349f9 ios-webkit-debug-proxy description
Added description of how to install and use the ios-webkit-debug-proxy.
2013-05-27 22:04:25 +02:00
Dan Cuellar cd818d1c77 Merge pull request #650 from penguinho/master
No longer restarting avd if it's already running
2013-05-24 19:34:51 -07:00
Dan Cuellar bd1f735204 No longer restarting avd if it's already running 2013-05-24 19:32:52 -07:00
Jonathan Lipps 554b45f07e add a hardcore mode to reset.sh that will delete uicatalog and maybe other things in the future 2013-05-24 16:55:08 -07:00
bootstraponline 6b3e34f53b Create mobile_methods.md 2013-05-24 20:30:21 -03:00
Jonathan Lipps 324a8c7274 changelog and bump for publish 0.6.0 v0.6.0 2013-05-24 13:00:49 -07:00
bootstraponline f8acb66a51 Merge pull request #649 from jlipps/master
fix selendroid with multiple apps
2013-05-24 12:47:00 -07:00
Jonathan Lipps 9cef2bedd1 kill selendroid-instrumented app after test (fix #641) 2013-05-24 11:52:38 -07:00
Jonathan Lipps 7171a61a21 selendroid should also unlock screen before test 2013-05-24 11:40:49 -07:00
bootstraponline 9143731b4f Merge pull request #648 from jlipps/master
git sha in status
2013-05-24 10:03:02 -07:00
Jonathan Lipps 23403f3002 methods for determining and setting git rev for appium; include in /status
fix #612
2013-05-24 09:57:16 -07:00
Jonathan Lipps 4ad63c84e7 update selendroid 2013-05-24 09:57:15 -07:00
bootstraponline 16900a8753 Merge pull request #647 from bootstraponline/return_json
Return JSON
2013-05-24 09:33:19 -07:00
bootstraponline c8644f6152 Return JSON
Fixes mobile find all search
2013-05-24 11:44:07 -04:00
Jonathan Lipps 215bd9044c add new parser options to grunt-initiated appium server (fix #646) 2013-05-24 08:32:12 -07:00
Jonathan Lipps 89d0aa4642 add a method for getting the git revision 2013-05-24 08:26:08 -07:00
bootstraponline 0f5255e884 Merge pull request #645 from bootstraponline/fix_scroll
Fix Android scroll_to
2013-05-24 08:19:58 -07:00
bootstraponline e3ff8f360d Fix Android scroll_to 2013-05-24 10:30:41 -04:00
bootstraponline 2ee0fce096 Merge pull request #643 from jlipps/master
fix some selendroid issues
2013-05-23 15:06:12 -07:00
Jonathan Lipps 03e31b137c make selendroid build new servers in /tmp, and uniquify the modded server name 2013-05-23 14:58:16 -07:00
Jonathan Lipps d16a5c798f Merge pull request #642 from maudineormsby/master
Update credits
2013-05-23 11:51:46 -07:00
Jason Carr 6d34a1ef86 Add ios-webkit-debug-proxy to credits 2013-05-23 11:50:30 -07:00
Jonathan Lipps cda48e4f56 make sure element.js gets linted too 2013-05-23 11:15:35 -07:00