Commit Graph

12126 Commits

Author SHA1 Message Date
Jonathan Lipps 77a3301ab9 we want to reset in our own tests 2013-02-20 16:48:17 -08:00
Jonathan Lipps 797441f07c make plist resetting a server flag 2013-02-20 16:47:34 -08:00
Jonathan Lipps ebda1b29c8 separating concerns a bit here for reset app 2013-02-20 15:36:32 -08:00
Jonathan Lipps c92b575e0d Merge pull request #203 from bootstraponline/reset
mobile: reset
2013-02-20 15:03:19 -08:00
bootstraponline 7f2a27e8cc mobile: reset 2013-02-20 17:27:17 -05:00
Jonathan Lipps 3970d68235 update what grunt tasks travis runs, it's not a mac! 2013-02-20 13:47:50 -08:00
Jonathan Lipps ba0667f98e add grunt-cli to packages.json for travis 2013-02-20 13:29:12 -08:00
Jonathan Lipps eb3d09f74e update readme to reflect change in grunt version 2013-02-20 13:22:57 -08:00
Sebastian Tiedtke 6fa18a5452 Merge pull request #201 from jlipps/master
migrate to grunt 0.4
2013-02-20 11:40:32 -08:00
Jonathan Lipps 1e4127f6dc add webview app to reset.sh 2013-02-20 11:34:22 -08:00
Jonathan Lipps bfaf849a6b fix to follow grunt 0.4 api 2013-02-20 11:32:42 -08:00
Jonathan Lipps 897c871128 use newer grunt-mocha-test for grunt 0.4 compat 2013-02-20 11:32:42 -08:00
Jonathan Lipps cc1d7fb79c upgrade to grunt 0.4 and begin migration (starting with lint) 2013-02-20 11:32:42 -08:00
Jonathan Lipps c5312cc97b grunt helper for code signing an app 2013-02-20 11:32:42 -08:00
Jonathan Lipps f6153e5bef more logging about UDID 2013-02-20 11:32:42 -08:00
Jonathan Lipps 969ac8c85f update bundle id for app 2013-02-20 11:32:42 -08:00
Jonathan Lipps 9cd9907db6 Merge pull request #200 from bootstraponline/fix_undefined
Fix undefined issues
2013-02-20 10:10:04 -08:00
bootstraponline 57015e52f8 Fix undefined issues
TypeError: Cannot read property 'name' of undefined
TypeError: Cannot read property 'code' of undefined
2013-02-20 13:08:20 -05:00
Jonathan Lipps e1c9a62729 Merge pull request #196 from bootstraponline/fix_null
Fix null value
2013-02-19 11:02:50 -08:00
bootstraponline 2c47fa2b49 Fix null value
getElementsByXpath returns value: null when xpObj === false
2013-02-18 14:02:09 -05:00
Jonathan Lipps c584ff283a Merge pull request #195 from bootstraponline/fix_null
Fix null check
2013-02-18 10:57:41 -08:00
bootstraponline 2a9c75d8f6 Fix null check
Selenium::WebDriver::Error::JavascriptError: 'null' is not an object (evaluating 'el[key]().indexOf')

This happens when an element exists that doesn't have the proper value.

> execute_script "[$('text')[0].name()]"
=> [nil]
2013-02-18 13:52:25 -05:00
Sebastian Tiedtke bd72ec246c Merge pull request #194 from jlipps/master
add xpath support
2013-02-15 16:46:30 -08:00
Jonathan Lipps 45efbf6d9d round out xpath finding logic 2013-02-15 16:41:07 -08:00
Jonathan Lipps 75641cafec initial searching by xpath logic 2013-02-15 15:45:21 -08:00
Jonathan Lipps ed6fb344a5 initial searching by xpath logic 2013-02-15 15:44:30 -08:00
Jonathan Lipps cef7cea3dd no difference between 'all' and 'desc' in root context 2013-02-15 13:05:01 -08:00
Jonathan Lipps 6fdcb30ed4 rewrite xpath parsing to return kind of descendance 2013-02-15 13:00:49 -08:00
Jonathan Lipps bd5e0693ea test organization 2013-02-15 11:53:14 -08:00
Jonathan Lipps 50dfbae0d3 more xpath parsing and unit tests for it 2013-02-15 11:52:22 -08:00
Jonathan Lipps a063ac950b initial work getting xpath regexes working 2013-02-14 16:50:39 -08:00
Jonathan Lipps 7bb3ee58b2 Merge pull request #190 from gaige/fdfix
Fix #148 leaving domain sockets open
2013-02-14 15:19:30 -08:00
Gaige B Paulsen 63bdcd282d Fix #148 leaving domain sockets open
In order to make sure the domain socket closes, we need to close() the
socket server itself, which requires paying attention to its creation
and
2013-02-14 18:12:22 -05:00
Gaige B Paulsen ed432ee127 Fix #148 leaving domain sockets open
In order to make sure the domain socket closes, we need to close() the
socket server itself, which requires paying attention to its creation
and
2013-02-14 18:01:15 -05:00
Jonathan Lipps 4df09746a3 Merge pull request #189 from bootstraponline/comment
Remove commented code
2013-02-14 13:18:26 -08:00
Jonathan Lipps d7ff5c0df0 backwards compatibility fix for pyappium 2013-02-14 12:17:12 -08:00
bootstraponline 64714f3915 Remove commented code 2013-02-14 13:30:46 -05:00
Jonathan Lipps ab18a9c57d Merge pull request #187 from bootstraponline/fix_186
Fix 186
2013-02-14 10:16:55 -08:00
Adam Christian 01e316a820 Merge pull request #188 from jlipps/master
handle when app can't be built better
2013-02-14 10:16:27 -08:00
Jonathan Lipps a01da0811b better handling of building app that doesn't exist 2013-02-14 10:14:19 -08:00
bootstraponline 0412eae8f8 Fix style 2013-02-14 13:12:27 -05:00
Jonathan Lipps aaa19e7777 add style guide link to README 2013-02-14 09:25:39 -08:00
Gaige B Paulsen ba033c349c Add support for setValueImmediate
This new mobile: command restores the ability to manually set the value
of all objects, including UITextField using the direct setValue() JS in
UIAutomation.

By default, POST /value will generate keypress events in a UITextView,
as is in line with the webdriver specification.  With this additon, you
can now use the 'old' appium method of setting directly with setValue
by using:
   mobile:setvalue  [{ element: elementID, value: value }]
2013-02-14 10:44:25 -05:00
Gaige B Paulsen 8ce29bbe89 Object leak removal, and some work at removing the file descriptor leaks coming from the unix domain sockets. 2013-02-14 10:42:59 -05:00
Gaige B Paulsen 7d0e2c2daa Change /value to send keys as per spec when used with text fields 2013-02-14 10:41:51 -05:00
Jonathan Lipps 743e24301d bump version for npm publish 2013-02-13 19:11:45 -08:00
Jonathan Lipps 9191e800ca make sure no logs ever show up in git 2013-02-13 19:06:26 -08:00
Sebastian Tiedtke 21e9dba6a1 Merge pull request #185 from jlipps/master
hideKeyboard method
2013-02-13 18:48:15 -08:00
Jonathan Lipps 388baad37e add mobile: hideKeyboard method for hiding keyboard based on key name 2013-02-13 18:46:04 -08:00
Sebastian Tiedtke e00c12298e Merge pull request #184 from jlipps/master
basic 'reset' script
2013-02-13 17:10:42 -08:00