Commit Graph

11839 Commits

Author SHA1 Message Date
Santiago Suarez Ordoñez 2725541b31 moving test to should 2013-01-17 14:50:40 -08:00
Sebastian Tiedtke 79050b9b89 Merge pull request #13 from jlipps/master
Ported more things to use the nice testing framework
2013-01-17 14:32:14 -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
Santiago Suarez Ordoñez 65f3d0ba22 Merge pull request #12 from jlipps/master
grunt logging, driverBlock
2013-01-17 14:15:15 -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
Jonathan Lipps f9e2cd4b4f fixing weird conflict 2013-01-17 12:18:25 -08:00
Jonathan Lipps 029cf5744b Merge pull request #11 from santiycr/master
Adding support for frame switching
2013-01-17 12:13:15 -08:00
Jonathan Lipps 41e441a2ab still allow appium logging if you run 'grunt test:log' 2013-01-17 12:08:08 -08:00
Sebastian Tiedtke 247fe7c8eb Used this method to verify whether refactoring was successful. No longer needed. 2013-01-17 12:08:08 -08:00
Santiago Suarez Ordoñez d1f8d9b06c adding support for getting element's size 2013-01-17 12:08:08 -08:00
Santiago Suarez Ordoñez 5d40b6211f moving location test to new location API + moving assertions inside driver.quit callback 2013-01-17 12:08:08 -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
Sebastian Tiedtke 01be5ea89a Merge pull request #10 from santiycr/master
getSize support
2013-01-17 11:59:09 -08:00
Sebastian Tiedtke 1469c5a98c Used this method to verify whether refactoring was successful. No longer needed. 2013-01-17 11:51:39 -08:00
Jonathan Lipps 80f1e4f956 don't show appium logging in console during tests 2013-01-17 11:47:42 -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
Sebastian Tiedtke 8b23ba9d86 Plural :) 2013-01-17 11:38:40 -08:00
Sebastian Tiedtke 8dc0815715 Helping contributors getting boot-strapped. 2013-01-17 11:35:59 -08:00
Luke Inman-Semerau 1527a5ac7c adding mobileSafari task, to easily launch MobileSafari 2013-01-17 11:29:39 -08:00
Jonathan Lipps 12ee3dcbcd spawn mocha as a subprocess to enable single-command test running 2013-01-17 11:19:17 -08:00
Jonathan Lipps 87b05a6218 add should to deps 2013-01-17 11:18:37 -08:00
Jonathan Lipps 50e1a6e87a Merge pull request #9 from lukeis/master
two things: adding info to README + authorize.py & allowing to specify an arbitrary app
2013-01-17 11:18:12 -08:00
Luke Inman-Semerau 752812c2d7 make the python command block 'pretty' 2013-01-17 10:59:00 -08:00
Luke Inman-Semerau 8a265549a7 be able to specify absolute path to app to pass in. 2013-01-17 10:55:48 -08:00
Luke Inman-Semerau 9dea676ce3 adding 'prerequisites' to readme
adding info about security dialog too
adding authorize.py from hugs/appium
2013-01-17 10:55:47 -08:00
Jonathan Lipps 4daff62dc5 Merge pull request #8 from brainsik/master
test driver.source
2013-01-17 10:39:09 -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
jeremy avnet 04c2f13561 implemented above 2013-01-17 10:28:49 -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
Santiago Suarez Ordoñez f69f5123ca Adding support for getting an element's location 2013-01-16 18:54:35 -08:00
admc a11c8c2bed Using dev WD 2013-01-16 18:43:50 -08:00
Jonathan Lipps db7eab0c1b fixing some test assertion styles 2013-01-16 18:36:13 -08:00
Sebastian Tiedtke 4c3ce240e8 Chngd default mocha test reporter. 2013-01-16 18:23:32 -08:00
Jonathan Lipps 87d7e8cb88 make these tests use mocha best practices 2013-01-16 18:07:13 -08:00
Jonathan Lipps 7d96af7117 allow 'grunt test' to spin up and shutdown server before/after tests 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