Jonathan Lipps
af7759ee58
refactor emulator port retrieval and nodify penguinho code
2013-06-03 15:57:54 -07:00
Jonathan Lipps
f104dbdc4e
add apidemos code to linter and lint
2013-06-03 15:29:57 -07:00
Jonathan Lipps
4f2564a165
make sure device wakes up before trying to run test ( fix #490 )
2013-06-03 15:20:44 -07:00
Jonathan Lipps
a62eb45b04
Merge pull request #696 from jlipps/master
...
make sure androidmanifest is in /tmp
2013-06-03 14:32:02 -07:00
Jonathan Lipps
e66113bfe6
make sure androidmanifest.xml.apk is writable ( fix #690 )
2013-06-03 14:28:33 -07:00
Jonathan Lipps
64c9b0d445
Merge pull request #695 from bootstraponline/master
...
Fix #693
2013-06-03 14:11:04 -07:00
bootstraponline
623119da6e
Fix null and undefined res.
2013-06-03 17:06:40 -04:00
Jonathan Lipps
12f7c37571
Merge pull request #694 from jlipps/master
...
uninstall app on full reset
2013-06-03 13:58:24 -07:00
Jonathan Lipps
5581880d15
make sure app is still uninstalled when not using fast reset ( fix #687 )
2013-06-03 13:54:27 -07:00
Jonathan Lipps
9e846f3379
clean up adb restart code
2013-06-03 11:26:45 -07:00
Jonathan Lipps
a466c2ca1c
add test for find element by id
2013-06-03 11:26:20 -07:00
bootstraponline
cec142fc7c
Merge pull request #688 from snevesbarros/patch-2
...
removed the "Note"
2013-06-03 09:53:14 -07:00
Sergio Neves Barros
bf1683e911
removed the "Note"
...
the proxy has been fixed and tagged and can now be installed through brew. So note was not valid anymore.
2013-06-03 18:30:13 +02:00
bootstraponline
f1d9981c35
Merge pull request #668 from bootstraponline/find_by_id
...
Add find element by id for Android
2013-06-03 08:19:21 -07:00
bootstraponline
cc776ed9f5
Use adb push and have server load on startup
2013-06-03 11:12:16 -04:00
Eric Plaster
2e6e1c58c7
Updated to use Timer
2013-05-31 20:04:06 -04:00
Jonathan Lipps
4724621018
Apply @jlipps patch
2013-05-31 20:04:06 -04:00
bootstraponline
80adf8efa7
Wrap doRun
2013-05-31 20:04:06 -04:00
bootstraponline
0f550e12cd
Detect not found error early.
2013-05-31 20:04:06 -04:00
bootstraponline
89ac84823e
Fix NPE crash by using spin wait
2013-05-31 20:04:05 -04:00
bootstraponline
839729d177
Start moving find by id to server
2013-05-31 20:04:05 -04:00
bootstraponline
d0326a1d64
Add find by id for Android
2013-05-31 20:04:05 -04:00
Jonathan Lipps
674d1e2667
changelog and bump to 0.6.1 for npm publish
v0.6.1
2013-05-31 15:38:16 -07:00
Jonathan Lipps
77dbcaf9e7
make sure reset.sh is not in npm since it won't work anyways
2013-05-31 15:38:01 -07:00
Jonathan Lipps
3ce9847f5e
use spinWaits to make sure these tests pass
2013-05-31 14:59:41 -07:00
Jonathan Lipps
e7b7b13b73
update tests to be a bit more robust
2013-05-31 14:45:10 -07:00
Jonathan Lipps
4a4cacc466
add note about hw.battery to android setup ( fix #665 )
2013-05-31 14:36:44 -07:00
Jonathan Lipps
64961e7ef5
make sure to escape sendKeys values properly
2013-05-31 08:36:56 -07:00
bootstraponline
fb669e730d
Merge pull request #680 from snevesbarros/patch-1
...
additional description hybrid.md
2013-05-31 06:08:11 -07:00
Sergio Neves Barros
f666a18fa0
additional description hybrid.md
...
added some additional description around turning on the web inspector and updated the note on the bugfix (as a fix was done for the proxy)
2013-05-31 11:29:07 +02:00
Jonathan Lipps
59dab35265
Merge pull request #679 from bootstraponline/fix_webview
...
WebView is not a widget
2013-05-30 17:01:07 -07:00
bootstraponline
745c170bdd
WebView is not a widget
2013-05-30 18:57:21 -04:00
Jonathan Lipps
df073431e7
Merge pull request #672 from jlipps/master
...
getLocation for android
2013-05-30 11:34:11 -07:00
Jonathan Lipps
c8d74fca57
make exception check broader
2013-05-30 08:34:34 -07:00
Jonathan Lipps
f84cd0b08f
add getLocation for android
2013-05-29 18:55:19 -07:00
bootstraponline
5a66439e2d
Merge pull request #669 from mutualmobile/websocket_notifications_unittests_cleanup
...
Clean up functional tests for alert detection removing the need for
2013-05-29 18:07:14 -07:00
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