Commit Graph
65 Commits
Author SHA1 Message Date
Jonathan Lipps 50af1ab0bc fail gracefully if someone sends in a bad http request 2013-01-28 11:48:48 -08:00
Sebastian Tiedtke 8ae762200f Final touches for lookup by name. 2013-01-27 15:06:59 -08:00
Sebastian Tiedtke 649805d84c Changes necessary to make tests pass. 2013-01-27 15:06:59 -08:00
Sebastian Tiedtke 41b65dfaf7 Made elementByName available (more refactoring/migration to be done soon). 2013-01-27 15:06:59 -08:00
Jonathan Lipps 4a5af40258 download test zipped apps from repo instead of jlipps site, cleanup 2013-01-25 15:26:43 -08:00
Jonathan Lipps 53d8fc1f2c fix various tests based on new structure 2013-01-25 11:34:58 -08:00
Jonathan Lipps f238697a5c create better test organization, say which tests need --app and which don't 2013-01-25 11:34:58 -08:00
Jonathan Lipps 97f459ff9b update tests to use desired caps app rather than relying on server 2013-01-25 11:34:58 -08:00
Jonathan Lipps e6cde7c0e1 test url unzipping and make sure we don't cache app accidentally 2013-01-25 11:34:57 -08:00
Jonathan Lipps a9d58a6ce7 allow loading of app by path or url from desired capabilities
also a lot of stability improvements and error handling
2013-01-25 11:34:57 -08:00
Sebastian Tiedtke b7390f49c0 Minor improvement. 2013-01-24 14:55:27 -08:00
Jonathan Lipps e43b91e0c5 update page source tests to reflect new schema 2013-01-24 14:39:53 -08:00
admc 8303f50c28 Merge pull request #40 from jlipps/master
make appium+instruments connection more robust
2013-01-23 17:05:50 -08:00
Jonathan Lipps 8e568fe6f4 fixing merge conflicts 2013-01-23 16:41:18 -08:00
Jonathan Lipps 1e9fc04306 allow appium to recover from surprise instruments exits, and tests 2013-01-23 16:16:05 -08:00
berni 7d40e16667 flick test (using UICatalog app), fix: use camelcase in flick 2013-01-23 23:45:19 +01:00
Santiago Suarez Ordoñez c06b056633 a bit nicer code, put multiple it inside describes 2013-01-23 14:14:12 -08:00
Santiago Suarez Ordoñez eddc96b1f4 adding test to prove correct error handling 2013-01-23 14:08:55 -08:00
Santiago Suarez Ordoñez 0490775664 fixing sessions test to comply to JSONWP 2013-01-23 14:00:55 -08:00
berni 92a2e7407d new style of returning responses, test methods for getAttribute, clear, and active, fix for active in appiumutils, return empty string if UIATextField has no value 2013-01-23 22:19:41 +01:00
Sebastian Tiedtke 23fe1910a4 Didn't realize I broke these tests. Here's a fix! Sorry! 2013-01-23 10:49:20 -08:00
Jonathan Lipps 17769fd9c1 merge admc pull request #17 and fix conflict 2013-01-17 18:27:37 -08:00
Jonathan Lipps 54677096cf convert findElement.js to shoulds 2013-01-17 17:53:04 -08:00
Adam Christian dc6f6245b4 Adding flick without a test :( 2013-01-17 16:47:17 -08:00
Santiago Suarez Ordoñez 2725541b31 moving test to should 2013-01-17 14:50:40 -08:00
Jonathan Lipps 9507e65d30 ported timeouts.js to use describeWd 2013-01-17 14:22:11 -08:00
Jonathan Lipps ba2f77b742 ported source.js to use describeWd 2013-01-17 14:20:53 -08:00
Jonathan Lipps 0e882ddc14 ported size.js to use describeWd 2013-01-17 14:19:31 -08:00
Jonathan Lipps f88ab855da ported sessions.js to use describeWd 2013-01-17 14:12:22 -08:00
Jonathan Lipps 95aa2321c2 use a better interface: describeWd() instead of describe() + driverBlock() 2013-01-17 14:07:40 -08:00
Jonathan Lipps 0cc11982a7 ported frames.js to use driverBlock 2013-01-17 13:56:36 -08:00
Jonathan Lipps 9840aa3486 ported findElement.js to use driverBlock 2013-01-17 13:53:56 -08:00
Jonathan Lipps ffd867953a updated basic.js to use driverBlock for setup/teardown of wd 2013-01-17 13:38:42 -08:00
Jonathan Lipps d4123d15bc added driverblock.js and a demo of its use in simple.js 2013-01-17 13:17:20 -08:00
Santiago Suarez Ordoñez b62bc13683 adding support for frame switching, will need an app with frames to test properly 2013-01-17 12:07:03 -08:00
Santiago Suarez Ordoñez e3e9afc29e adding support for getting element's size 2013-01-17 11:41:53 -08:00
Santiago Suarez Ordoñez 56407ce5fb moving location test to new location API + moving assertions inside driver.quit callback 2013-01-17 11:41:53 -08:00
jeremy avnet 34c83d98bd move assertion inside driver.quit() 2013-01-17 10:38:24 -08:00
jeremy avnet 1d8806fe27 Test for driver.source 2013-01-17 10:30:48 -08:00
Jonathan Lipps 0232cdf98c oops, this doesn't need 'only' 2013-01-16 19:12:48 -08:00
Jonathan Lipps 8ce70544f1 Merge pull request #7 from santiycr/master
Added support for getting element's location
2013-01-16 19:12:36 -08:00
Santiago Suarez Ordoñez a979f55c3e missing location test 2013-01-16 19:10:52 -08:00
Jonathan Lipps b0958ff47f spin for screenshot so file i/o doesn't cause errors.
this should be abstracted for other use cases!
2013-01-16 19:07:50 -08:00
Jonathan Lipps db7eab0c1b fixing some test assertion styles 2013-01-16 18:36:13 -08:00
Jonathan Lipps 87d7e8cb88 make these tests use mocha best practices 2013-01-16 18:07:13 -08:00
Jonathan Lipps 0cb0a8ad7f i think this person meant to check for typeof undefined? 2013-01-16 18:07:13 -08:00
Sebastian Tiedtke c0afb86401 Merge pull request #4 from bernii/master
porting GET and POST '/session/:sessionId/orientation'
2013-01-16 17:31:04 -08:00
berni 7ab2c36667 porting '/wd/hub/session/:sessionId/screenshot', update in instruments - creating unique temp dir that is used by UIAutomation to store screenshots, there is some problem with test - socket times out waiting for new command 2013-01-17 02:09:36 +01:00
berni 8f10c97dc5 porting GET and POST '/session/:sessionId/orientation',
submitted pull request to wd.js (setOrientation, getOrientation)
2013-01-17 00:28:36 +01:00
berni f7dec4e1f2 porting '/session/:sessionId/timeouts/implicit_wait',
WE NEED A TEST FOR THAT
2013-01-17 00:28:35 +01:00