Commit Graph

589 Commits

Author SHA1 Message Date
Malini Das
cfa84d717c Bug 1028254 - bump marionette client version to 0.7.10, r=davehunt 2014-06-20 12:17:31 -04:00
Andrew Halberstadt
d638652838 Bug 997244 - Move emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-19 14:17:26 -04:00
Birunthan Mohanathas
ec8396a564 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Wes Kocher
0771859834 Backed out changeset 81a51de30a2a (bug 997244) for breaking b2g emulator mochitests on an otherwise CLOSED TREE 2014-06-18 14:15:48 -07:00
Andrew Halberstadt
0b14f45d59 Bug 997244 - Pull emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-18 13:30:12 -04:00
Andrey Botalov
1e2f8eb2f6 Bug 1025838 - Add 'version' prefix to version number in HTML report. r=dhunt 2014-06-16 06:53:00 -04:00
Ting-Yu Lin
0a196bc8cb Bug 1024848 - part 1 - Improve selection carets test cases. r=mdas
On Windows, when selecting a word by long pressing, extra spaces after
the word will also be selected. To solve this problem, I redesign the
test cases by comparing the target content with the selected content
directly while ignoring spaces at certain test cases. I believe it's
easier to understand and less error-prone than the old
replace-selected-content-and-compare way.

I added a new method SelectionManager.selected_content() to make it
easier to get the current selected text.
2014-06-13 02:33:00 +02:00
Ting-Yu Lin
b83352b6f4 Bug 962645 - Support wait between press->release action chain. r=mdas
wait() before press() should not raise "MarionetteException: Element has
not been pressed."
2014-06-12 02:34:00 -04:00
Ting-Yu Lin
f912c3b2a5 Bug 1019441 - Part 2: Add marionette test cases for selection carets. r=roc, r=mdas
Add marionette test cases for selection carets feature in bug 987718.
Test cases target <input>, <textarea>, editable and non-editable
elements.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_seletioncarets.py

Run tests on b2g emulator manually:
./mach marionette-webapi layout/base/tests/marionette/test_seletioncarets.py
2014-06-11 06:28:00 -04:00
Ting-Yu Lin
16c27c8766 Bug 1019441 - Part 1: Add SelectionManager in marionette. r=mdas
* Extract those caret manipulating functions in test_touchcaret.py to
  selection.py, and generalize them for manipulating selection.
* Use SelectionManager in test_touchcaret.py.
* Remove unneeded </input> from test_touchcaret.html.
2014-06-11 03:02:00 -04:00
Ed Morley
446d6e3518 Merge mozilla-central and b2g-inbound 2014-06-11 18:06:52 +01:00
Ting-Yu Lin
0c30fcf209 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Enlarge touch caret expiration time to 60 seconds to avoid intermittent
test failures in test cases which need to move touch caret.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-11 02:48:00 -04:00
Wes Kocher
1065aa48a9 Merge b2g-inbound to m-c a=merge 2014-06-10 18:37:54 -07:00
William Lachance
4b9480677f Bug 984528 - Rename manifestdestiny -> manifestparser. r=ahal
--HG--
rename : testing/mozbase/docs/manifestdestiny.rst => testing/mozbase/docs/manifestparser.rst
rename : testing/mozbase/manifestdestiny/manifestparser/__init__.py => testing/mozbase/manifestparser/manifestparser/__init__.py
rename : testing/mozbase/manifestdestiny/manifestparser/manifestparser.py => testing/mozbase/manifestparser/manifestparser/manifestparser.py
rename : testing/mozbase/manifestdestiny/setup.py => testing/mozbase/manifestparser/setup.py
rename : testing/mozbase/manifestdestiny/tests/comment-example.ini => testing/mozbase/manifestparser/tests/comment-example.ini
rename : testing/mozbase/manifestdestiny/tests/default-skipif.ini => testing/mozbase/manifestparser/tests/default-skipif.ini
rename : testing/mozbase/manifestdestiny/tests/filter-example.ini => testing/mozbase/manifestparser/tests/filter-example.ini
rename : testing/mozbase/manifestdestiny/tests/fleem => testing/mozbase/manifestparser/tests/fleem
rename : testing/mozbase/manifestdestiny/tests/include-example.ini => testing/mozbase/manifestparser/tests/include-example.ini
rename : testing/mozbase/manifestdestiny/tests/include/bar.ini => testing/mozbase/manifestparser/tests/include/bar.ini
rename : testing/mozbase/manifestdestiny/tests/include/crash-handling => testing/mozbase/manifestparser/tests/include/crash-handling
rename : testing/mozbase/manifestdestiny/tests/include/flowers => testing/mozbase/manifestparser/tests/include/flowers
rename : testing/mozbase/manifestdestiny/tests/include/foo.ini => testing/mozbase/manifestparser/tests/include/foo.ini
rename : testing/mozbase/manifestdestiny/tests/just-defaults.ini => testing/mozbase/manifestparser/tests/just-defaults.ini
rename : testing/mozbase/manifestdestiny/tests/manifest.ini => testing/mozbase/manifestparser/tests/manifest.ini
rename : testing/mozbase/manifestdestiny/tests/mozmill-example.ini => testing/mozbase/manifestparser/tests/mozmill-example.ini
rename : testing/mozbase/manifestdestiny/tests/mozmill-restart-example.ini => testing/mozbase/manifestparser/tests/mozmill-restart-example.ini
rename : testing/mozbase/manifestdestiny/tests/no-tests.ini => testing/mozbase/manifestparser/tests/no-tests.ini
rename : testing/mozbase/manifestdestiny/tests/path-example.ini => testing/mozbase/manifestparser/tests/path-example.ini
rename : testing/mozbase/manifestdestiny/tests/relative-path.ini => testing/mozbase/manifestparser/tests/relative-path.ini
rename : testing/mozbase/manifestdestiny/tests/test_convert_directory.py => testing/mozbase/manifestparser/tests/test_convert_directory.py
rename : testing/mozbase/manifestdestiny/tests/test_convert_symlinks.py => testing/mozbase/manifestparser/tests/test_convert_symlinks.py
rename : testing/mozbase/manifestdestiny/tests/test_default_skipif.py => testing/mozbase/manifestparser/tests/test_default_skipif.py
rename : testing/mozbase/manifestdestiny/tests/test_expressionparser.py => testing/mozbase/manifestparser/tests/test_expressionparser.py
rename : testing/mozbase/manifestdestiny/tests/test_manifestparser.py => testing/mozbase/manifestparser/tests/test_manifestparser.py
rename : testing/mozbase/manifestdestiny/tests/test_read_ini.py => testing/mozbase/manifestparser/tests/test_read_ini.py
rename : testing/mozbase/manifestdestiny/tests/test_testmanifest.py => testing/mozbase/manifestparser/tests/test_testmanifest.py
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/subdir/manifest.ini => testing/mozbase/manifestparser/tests/verifyDirectory/subdir/manifest.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/subdir/test_sub.js => testing/mozbase/manifestparser/tests/verifyDirectory/subdir/test_sub.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_1.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_1.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_2.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_2.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_3.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_3.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory_incomplete.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory_incomplete.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory_toocomplete.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory_toocomplete.ini
2014-06-10 13:20:23 -04:00
Ryan VanderMeulen
9cb39a8981 Merge m-c to b2g-inbound. a=merge 2014-06-09 18:17:11 -04:00
Mark Banner
d400d85162 Merge m-c to elm. a=merge 2014-06-09 13:00:42 +01:00
Ting-Yu Lin
2d0daee865 Bug 1020874 - Add optional parameters x and y to Action.long_press(). r=mdas
* Action.long_press() now accepts optional parameters x and y as
  Action.press() does.
* Add test cases in test_single_finger.py and
  test_single_finger_desktop.py.
2014-06-07 20:05:00 -04:00
Ting-Yu Lin
047804b5f4 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-07 08:49:00 -04:00
Ed Morley
0eb1c45071 Backed out changeset e982377e39a3 (bug 960897) since the new test_touchcaret.py intermittently fails 2014-06-06 18:14:43 +01:00
Wes Kocher
d48f2e62a4 Merge b2g-inbound to m-c a=merge 2014-06-05 18:49:36 -07:00
Mark Banner
f67ab92ac7 Bug 994483 Add Loop unit tests to tbpl. r=dburns 2014-06-05 15:45:16 +01:00
Ting-Yu Lin
ba201061d5 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-04 06:21:00 -04:00
Malini Das
ee31469cd4 Bug 1019616 - release marionette-client version 0.7.8, r=dburns 2014-06-03 15:58:50 -04:00
Ting-Yu Lin
3936ac0eab Bug 1016147 - Make sendKeysToElement() respect caret position. r=automatedtester
This allows HTMLElement.send_keys() to insert text after the caret in
<input>.

Also, fix the test cast fail in test_text.py due to caret position was
not being considered.
2014-06-02 09:01:00 +02:00
Shashank Sabniveesu
5370603de4 Bug 1008626 - Removed javaScriptEnabled and cssSelectors capabilities ( no longer needed); updated tests accordingly. r=automatedtester 2014-05-29 18:53:00 +02:00
Henry Chang
df38aa2241 Bug 997090 - Add wifi test case. r=vchang, f=vyang 2014-05-16 10:50:37 +08:00
Wes Kocher
71d8b72158 Merge m-c to inbound 2014-06-10 18:55:47 -07:00
Jonathan Griffin
5f6588ab77 Bug 1021734 - Remove special handling for marionette-transport, r=wlach 2014-06-10 13:40:00 -07:00
Jonathan Griffin
d5f62e5c7f Bug 1020650 - Bump Marionette to 0.7.9, r=mdas 2014-06-04 17:05:26 -07:00
Luv Agarwal
f5ac97f71f Bug 984208 - [Marionette Client] Modifying shuffle to put its seed outside, r=mdas 2014-06-05 11:14:49 -04:00
Dave Hunt
0a1fdceebe Bug 1019043 - Return None when getting the device manager in B2GTestCaseMixin if target is B2G desktop. r=mdas 2014-06-02 09:20:00 -04:00
Juien Pagès
b11e6e40a5 Bug 940924 - Marionette should list the number of unexpected/expected fails at the end of the test run. r=jgriffin 2014-05-27 10:01:00 +02:00
David Burns
113bfe517b Bug 1006511: Print script timeout stacks if they came from a python test; r=jgriffin 2014-05-27 23:37:56 +01:00
Andrew Halberstadt
ed8a8f0d40 Bug 1009730 - Stop using /data/local/user.js in b2g unittests, r=jgriffin 2014-05-22 15:47:52 -04:00
Julien Pagès
516194309e Bug 873035 - add a new --gecko-log option to redirect gecko logs to a specified file. r=jgriffin 2014-05-17 12:32:00 +02:00
Ed Morley
196cd93457 Backed out changeset f6395f17c99f (bug 960897) for intermittent test failures 2014-06-10 18:03:30 +01:00
J. Ryan Stinnett
2237533405 Bug 797639 - Part 3: Fix Marionette client / server loading and parsing. r=jgriffin 2014-05-14 14:30:02 -05:00
David Burns
0d6fde91fc Bug 1006511: Do not print script timeout messages to tbpl for marionette tests; r=mdas 2014-05-13 21:00:15 +01:00
Julien Pagès
3447d727bc Bug 996236 - Allow getting screenshots from marionette in binary. r=wlach 2014-05-12 10:57:53 -04:00
Dave Hunt
c039fc8cb3 Bug 1007592 - Collect version information from capabilities when running against a remote binary instance. r=mdas 2014-05-09 10:21:00 -04:00
Andrew Halberstadt
89c6b53e64 Bug 1000883 - Marionette client should check for crashes on IOError, r=AutomatedTester 2014-05-09 10:12:27 -04:00
William Lachance
1be501c001 Bug 1005758 - Clean up marionette package descriptions on pypi. r=mdas 2014-05-05 00:21:13 -04:00
David Burns
d6e3620d40 Bug 967813: Put the error reason in the message that is reported on TBPL for easier starring; r=philor 2014-05-03 21:02:38 +01:00
sashakruglov
a114f06618 Bug 834502 - Need to cover more cases in test_click.py;r=automatedtester 2014-04-29 23:30:00 +01:00
David Burns
2378f04be0 Bug 1004089: Allow frame switching in marionette when switching by index and the frame is OOP; r=mdas 2014-04-30 22:59:25 +01:00
William Angell
5741d0e941 Bug 974465 - Replaced all asterisk imports in Marionette client with explicit imports; r=automatedtester 2014-04-28 10:18:00 +01:00
William Lachance
8e22719ba2 Bug 1002619 - Fix syntax error in Marionette's setup.py. r=ato 2014-04-28 14:34:29 -04:00
Michael Vines
a3305f8653 Bug 1002039 - fix virtualenv download code, r=mdas 2014-04-28 20:55:33 -07:00
Malini Das
57136d58d6 Bug 1001461 - Bump marionette_client version to 0.7.7 and release to PyPI, r=davehunt 2014-04-29 10:16:11 -04:00
David Burns
2400ebbda9 Bug 929175: Part 2: Updating frames tests.; r=mdas 2014-04-25 14:41:17 +01:00