Jonathan Lipps
d0474f3051
add tests for new '-real xpath' temporary loc strat
...
and test for new real xml page source
2014-03-27 16:29:55 -07:00
jonahss
878497d63f
accessibility_id -> accessibility id
2014-03-27 15:05:17 -07:00
jonahss
0ff63ff003
-ios_uiautomation -> -ios uiautomation
2014-03-27 14:42:14 -07:00
jonahss
7cedf44631
fix find-element test
2014-03-27 14:30:55 -07:00
sebv
f7183f2f23
better test defaults for ios71
2014-03-27 14:20:27 +08:00
sebv
1a3fa222cb
Only counting displayed elements
2014-03-27 12:02:17 +08:00
sebv
c92f3d6cbc
improving ios uiauto tests
2014-03-26 20:59:19 +08:00
sebv
0f3f21b9b1
more test improvements
2014-03-26 20:59:19 +08:00
sebv
89026145db
rewrote waitForLaunch
2014-03-26 16:43:39 +08:00
sebv
46984e21e9
fixing prelaunch tests
2014-03-26 10:55:17 +08:00
Dylan Lacey
9a7594870c
Added deprecation warning for tag name
...
Add deprecation warnings for class name, tag name locator strategies.
Deprecations warnings will now be thrown for:
* 'tag name' in the native context
* 'class name' in the native context
* 'class name' in the web context
'class_name' is now a valid locator strategy for checkValidLocStrat
Add test for new class name locator
rename createCommand createGetElementCommand
Adding unit tests for new exception throwing
Add test for incorrect UIA class names
2014-03-25 18:07:02 -07:00
Jonathan Lipps
dc5c08ef5c
Merge pull request #2166 from DylanLacey/no_json_please
...
No JSON please
2014-03-25 12:11:24 -07:00
Jonathan Lipps
d2b7764ad6
Merge pull request #2168 from sebv/test-session
...
Test suite improvement.
2014-03-25 12:05:48 -07:00
sebv
b61e516824
prelaunch test improvements
2014-03-26 02:23:42 +08:00
Jonathan Lipps
d6b6ab1809
Merge pull request #2159 from Jonahss/accessibility_idLocStrat
...
accessibility_id location strategy
2014-03-25 10:41:28 -07:00
sebv
5a0360f951
Avoiding quit hanging + better verbose logging
2014-03-25 18:57:47 +08:00
Dylan Lacey
0cbdb9b2d4
Log a deprecation message when mobileSource is called with the JSON
...
type, asking users to use XML type instead.
2014-03-25 03:18:46 -07:00
jonahss
9adf2afb34
rejigger this test
2014-03-24 17:09:57 -07:00
jonahss
1eba0fc45f
readded some tests, since they pass now
2014-03-24 11:11:42 -07:00
jonahss
273a008b95
add accessibility_id loc strat
2014-03-24 11:11:04 -07:00
sebv
de2205afbe
putting force-iphone after force-ipad so that further tests run.
2014-03-25 02:05:06 +08:00
Jonathan Lipps
7e5ca293a6
if we're not in a git repo. don't link commit hooks ( fix #2141 )
2014-03-24 09:59:14 -07:00
jonahss
6b0e9708ab
add -ios_uiautomation locator strategy
2014-03-21 15:44:09 -07:00
Jonathan Lipps
b3ecd19ebb
make chrome tests skip context check
2014-03-21 10:02:19 -07:00
Jonathan Lipps
45c2bd346c
Merge pull request #2117 from paymand/remove_fast_clear
...
Removed 'fastClear' capability.
2014-03-21 09:37:55 -07:00
bootstraponline
1f06f9244e
Merge pull request #2115 from jlipps/master
...
misc fixes
2014-03-21 11:10:19 -04:00
Payman Delshad
a9d1e74f63
Removed 'fastClear' capability.
...
No need for 'fastClear' anymore. Current modes are:
1. fullReset: Reinstall the app.
2. noReset: Don't reinstall, keep app data.
3. fastReset (!fullReset && !noReset): Don't reinstall the app, but clear the app data (pm clear).
2014-03-21 13:02:43 +01:00
sebv
8fc3383e78
more flexible LAUNCH_TIMEOUT in tests
2014-03-21 14:26:27 +08:00
Jonathan Lipps
035d2fe8e7
unquarantine toggle tests. they're not too flakey.. maybe
2014-03-20 17:05:09 -07:00
Jonathan Lipps
fd24d65ffe
make sure caps are sanitized ( fix #2103 )
2014-03-20 16:58:03 -07:00
Jonathan Lipps
0f38bd1c58
allow testing of ios71 in test.sh, and pass specific versions
2014-03-20 16:58:03 -07:00
sebv
eb4407b959
package update + test fixes
2014-03-21 04:46:46 +08:00
Jonathan Lipps
ebc89ebe83
Merge pull request #2049 from imurchie/isaac-contexts
...
Add contexts for switching to webviews
2014-03-20 11:28:02 -07:00
Payman Delshad
5a9a45d6b0
Fix for issue #2085 . Use "mobile: reset" in beforeEach().
2014-03-20 14:22:55 +01:00
Isaac Murchie
f4f730e1ee
Use contexts for switching native/web
2014-03-19 21:13:47 -07:00
Dylan Lacey
21c8feb8e5
Add new device and automation capabilities, deprecate old caps
...
Added deprecation warning for older style caps. Warnings are output
once only for a given function or capability. A final trailing log
message is released saying there were deprecations.
Busted unit tests into smaller tests
Capabilities are now an object, created by passing the capabilities
to Capabilities. Properties on that object are copied into the Capabilities object so the API is identical.
Store the value of platformVersion as version.
2014-03-19 09:35:36 -07:00
Jonathan Lipps
d3881987ff
fix tests which rely on the desired caps which no longer exist
2014-03-17 15:49:33 -07:00
Jonathan Lipps
482d24e0e1
add packageAndLaunchActivity support for selendroid
...
also convert our tests to use this by default so that it's tested
also move it to after prepareDevice so we make sure to run adb commands
with the appropriate device id etc
fix #2083 , cc @bootstraponline
2014-03-17 15:15:48 -07:00
Jonathan Lipps
9ceb056960
new buttons in test app mean tests need updating
2014-03-17 12:02:06 -07:00
Jonathan Lipps
10851a692b
ios7.1 thinks there are more buttons in testapp, so update the test
2014-03-17 11:58:48 -07:00
Jonathan Lipps
8ef1922d73
fix jwpError ( fix #2080 )
2014-03-17 10:16:48 -07:00
Jonathan Lipps
c658945f9d
change safari webview xpath so it works on 7.1 ipad as well
2014-03-14 15:17:20 -07:00
Jonathan Lipps
873d2df203
make sure we can do forceiPad and safari
...
heads up @DylanLacey, this will likely cause a conflict with your work
2014-03-14 14:47:48 -07:00
Jonathan Lipps
101dec6532
Merge pull request #2066 from bootstraponline/android_push
...
Android mobile push & pull
2014-03-14 13:44:05 -07:00
bootstraponline
6494df98d6
Android mobile push & pull
...
Ruby examples:
mobile :pushFile, data: Base64.encode64('test ruby'), path: '/data/local/tmp/test.txt'
pull_result = mobile :pullFile, path: '/data/local/tmp/test.txt'
Base64.decode64 pull_result
2014-03-14 15:09:13 -04:00
sebv
90aa96e873
added duplicate textfield test
2014-03-15 01:58:05 +08:00
jonahss
3d5fdc9201
added better error reporting to test helper
2014-03-13 16:49:15 -07:00
jonahss
509d1c7271
fixed find-element tests for ios7
2014-03-13 16:49:08 -07:00
Jonathan Lipps
775fb8fc8b
add some logging to make it easier to follow ios startup flow
2014-03-12 14:44:48 -07:00
Jonathan Lipps
b2a782a899
actually clear out commandTimeout in between sessions so we don't start the timer while a new session is loading the app
2014-03-12 12:42:23 -07:00