Commit Graph

842 Commits

Author SHA1 Message Date
Jonathan Griffin
4425c0a156 Bug 1018436 - Fix import script problem on Windows, r=mdas 2014-06-11 11:26:28 -07:00
Ting-Yu Lin
583c467b2f 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
f1578378b0 Merge b2g-inbound to m-c a=merge 2014-06-10 18:37:54 -07:00
William Lachance
543aa429dc 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
Ed Morley
9a6a74ab70 Backed out changeset a8ad10daa7c0 (bug 932804) to fix the jenkins builds; a=jenkins 2014-06-10 16:34:27 +01:00
Ryan VanderMeulen
5b3b28a3c9 Merge m-c to b2g-inbound. a=merge 2014-06-09 18:17:11 -04:00
Mark Banner
d906e2564f Merge Elm to m-c. a=merge 2014-06-09 23:04:43 +01:00
Malini Das
160716596e Bug 932804 - compensate for statusbar in APZ touch, r=dburns 2014-06-09 12:37:11 -04:00
Mark Banner
f7788f7d4e Merge m-c to elm. a=merge 2014-06-09 13:00:42 +01:00
Ting-Yu Lin
00e1877d13 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
129535f3e3 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
28d36524ec Backed out changeset e982377e39a3 (bug 960897) since the new test_touchcaret.py intermittently fails 2014-06-06 18:14:43 +01:00
Wes Kocher
1972488853 Merge b2g-inbound to m-c a=merge 2014-06-05 18:49:36 -07:00
Mark Banner
3e420161df Bug 994483 Add Loop unit tests to tbpl. r=dburns 2014-06-05 15:45:16 +01:00
Ting-Yu Lin
3d1fb8c249 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
029edde829 Bug 1019616 - release marionette-client version 0.7.8, r=dburns 2014-06-03 15:58:50 -04:00
Ting-Yu Lin
c325726039 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
0465213568 Bug 1008626 - Removed javaScriptEnabled and cssSelectors capabilities ( no longer needed); updated tests accordingly. r=automatedtester 2014-05-29 18:53:00 +02:00
Malini Das
95f4e9f9bc Bug 1017022 - call close() on a valid object, r=jgriffin 2014-06-02 11:01:28 -04:00
Henry Chang
4633a29cc3 Bug 997090 - Add wifi test case. r=vchang, f=vyang 2014-05-16 10:50:37 +08:00
Wes Kocher
934871f3a2 Merge m-c to inbound 2014-06-10 18:55:47 -07:00
Jonathan Griffin
f82e08b5a4 Bug 1021734 - Remove special handling for marionette-transport, r=wlach 2014-06-10 13:40:00 -07:00
Jonathan Griffin
8fc12861c2 Bug 1020650 - Bump Marionette to 0.7.9, r=mdas 2014-06-04 17:05:26 -07:00
Jonathan Griffin
88fe8cbe0d Bug 1020396 - Bump marionette-transport to 0.2, r=mdas 2014-06-04 13:38:33 -07:00
Luv Agarwal
a7872dcad4 Bug 984208 - [Marionette Client] Modifying shuffle to put its seed outside, r=mdas 2014-06-05 11:14:49 -04:00
Wes Kocher
8efe1cd525 Backed out changeset c9a08c041519 (bug 1020396) for Gu bustage on a CLOSED TREE 2014-06-04 16:59:54 -07:00
Jonathan Griffin
9585ae2654 Bug 1020396 - Bump marionette-transport to 0.2, r=mdas 2014-06-04 13:38:33 -07:00
Dave Hunt
ebef083295 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
Carsten "Tomcat" Book
e096bc3ea7 merge b2g-inbound to mozilla-central 2014-05-28 14:33:48 +02:00
Alexandre Poirot
d6acfef52d Bug 1016033 - Fix marionette server race when waiting for toplevel window. r=jgriffin 2014-05-26 10:43:00 -04:00
Juien Pagès
973512dea6 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
d7bd63c6e0 Bug 1006511: Print script timeout stacks if they came from a python test; r=jgriffin 2014-05-27 23:37:56 +01:00
Varun Raj
9e7b08b4cb Bug 1011668: Correct exception messaging formatting for Marionette B2G Crashes; r=automatedtester 2014-05-21 09:34:00 +01:00
Andrew Halberstadt
d2d43dc711 Bug 1009730 - Stop using /data/local/user.js in b2g unittests, r=jgriffin 2014-05-22 15:47:52 -04:00
Julien Pagès
d5e0e1020e 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
857d6c4a5b Backed out changeset f6395f17c99f (bug 960897) for intermittent test failures 2014-06-10 18:03:30 +01:00
J. Ryan Stinnett
d00a33574f Bug 797639 - Part 3: Fix Marionette client / server loading and parsing. r=jgriffin 2014-05-14 14:30:02 -05:00
David Burns
9a4f2ecc7b 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
8ec8d797ce Bug 996236 - Allow getting screenshots from marionette in binary. r=wlach 2014-05-12 10:57:53 -04:00
Dave Hunt
c9f8fb7f92 Bug 1007592 - Collect version information from capabilities when running against a remote binary instance. r=mdas 2014-05-09 10:21:00 -04:00
David Burns
162ef55e56 Bug 1006105: Allow switching to top level frame if index is passed in. r=mdas 2014-05-09 15:01:34 +01:00
Andrew Halberstadt
0bb523265a Bug 1000883 - Marionette client should check for crashes on IOError, r=AutomatedTester 2014-05-09 10:12:27 -04:00
Malini Das
a5d6a11b99 Bug 932804 - Fix oop frame tapping bug, r=dburns 2014-05-07 17:01:07 -04:00
William Lachance
b9006baffb Bug 1005758 - Clean up marionette package descriptions on pypi. r=mdas 2014-05-05 00:21:13 -04:00
David Burns
9f228ac8a9 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
Benoit Girard
1591dfd8e6 Bug 986160 - Add MozGtestFriend.h to deal with gtest in non test builds. r=glandium 2014-04-07 15:23:03 -04:00
sashakruglov
8fa7097a82 Bug 834502 - Need to cover more cases in test_click.py;r=automatedtester 2014-04-29 23:30:00 +01:00
David Burns
2109275c3b 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
Malini Das
6451e32a03 Bug 995989 - fix APZ scrolling, r=dburns 2014-04-30 17:48:21 -04:00
Ryan VanderMeulen
f3f4985fe0 Merge m-c to inbound on a CLOSED TREE. 2014-04-30 16:47:33 -04:00
Vicamo Yang
d97ffaef80 Bug 996443: carry emulator arch automatically for mach commands. r=ahal 2014-05-01 00:57:39 +08:00
William Lachance
596b5333bd Bug 1002619 - Fix syntax error in Marionette's setup.py. r=ato 2014-04-28 14:34:29 -04:00
Michael Vines
d227441605 Bug 1002039 - fix virtualenv download code, r=mdas 2014-04-28 20:55:33 -07:00
Malini Das
cae75e8751 Bug 1001461 - Bump marionette_client version to 0.7.7 and release to PyPI, r=davehunt 2014-04-29 10:16:11 -04:00
William Angell
915d72d753 Bug 974465 - Replaced all asterisk imports in Marionette client with explicit imports; r=automatedtester 2014-04-28 10:18:00 +01:00
David Burns
b8240d4674 Bug 929175: Part 1: Allow Marionette to switch to frameset frames. ; r=mdas 2014-01-18 20:08:36 +00:00
David Burns
2790ae7db2 Bug 929175: Part 2: Updating frames tests.; r=mdas 2014-04-25 14:41:17 +01:00
Andreas Tolfsen
fa0c34f8d8 Bug 999550 - Make check for B2G backwards compatible with Gecko 28 branch. r=bsilverberg 2014-04-25 07:47:00 -04:00
David Burns
156640fb0b Bug 811747: Adding a test for checking that page_source handles unicode chars; r=jgriffin 2013-01-09 14:32:54 +00:00
Carsten "Tomcat" Book
d9a85b510a Backed out changeset bc6ddc5dc31a (bug 929175) on request on a CLOSED TREE 2014-04-25 15:51:24 +02:00
Carsten "Tomcat" Book
70861932cd Backed out changeset 6bb03867a3ad (bug 929175) 2014-04-25 15:50:33 +02:00
Carsten "Tomcat" Book
af876da427 Backed out changeset a3e1f186d06a (bug 811747) 2014-04-25 15:50:28 +02:00
David Burns
6b099f71d8 Bug 811747: Adding a test for checking that page_source handles unicode chars; r=jgriffin 2013-01-09 14:32:54 +00:00
David Burns
7429d289d9 Bug 929175: Part 2: Updating frames tests.; r=mdas 2014-04-25 14:41:17 +01:00
David Burns
c9f2085431 Bug 929175: Part 1: Allow Marionette to switch to frameset frames. ; r=mdas 2014-01-18 20:08:36 +00:00
Eddy Bruel
ad07bd7e64 Bug 859372 - Refactor transport.js; r=past 2014-04-24 13:23:30 +02:00
David Burns
a6047ce66c Bug 967021: Check that a window listener is not null in marionette; r=mdas 2014-04-17 21:14:09 +01:00
David Burns
96f08c4bcc Bug 990299: correct and enable window management test in Marionette; r=mdas 2014-04-17 20:48:27 +01:00
Malini Das
8993cc5f7d Bug 993478 - Let a user select docroot for the webserver, r=jgriffin 2014-04-10 13:02:23 -04:00
Jonathan Griffin
bf6caebb23 Bug 902711 - Make marionette_transport its own package, r=ato 2013-10-14 17:58:40 -07:00
Ed Morley
07a47250c0 Backed out changeset 60d427dbb7dc (bug 993478) for gaia-ui-test failures; CLOSED TREE 2014-04-10 16:21:50 +01:00
Malini Das
cdc2d8b982 Bug 991959 - fix chrome iframe switching, r=dburns 2014-04-10 10:33:39 -04:00
Malini Das
ca7e8f22b4 Bug 958036 - fix scrolling in apps with APZ enabled, r=dburns 2014-04-10 10:26:08 -04:00
Malini Das
8f5afee871 Bug 993478 - Let a user select docroot for the webserver, r=jgriffin 2014-04-10 10:11:33 -04:00
Carsten "Tomcat" Book
d7dfb3c5c8 merge b2g-inbound to mozilla-central 2014-04-09 14:27:34 +02:00
David Burns
4d295f5122 Bug 990298: Correcting window switching test; r=jgriffin 2014-04-08 22:02:23 +01:00
Vicamo Yang
e58c108d84 Bug 975442: recognize as emulator if device name begins with 'emulator'. r=jgriffin 2014-04-09 10:14:07 +08:00
David Burns
19b73e1024 Bug 882687: Fixing test position test; r=mdas 2014-04-08 01:13:31 +01:00
David Burns
5091f47258 Bug 811796: Add missing test files to the manifest; r=jgriffin 2014-04-08 01:09:30 +01:00
Ryan VanderMeulen
ec69e2de4b Merge inbound to m-c. 2014-04-04 14:51:38 -04:00
Dave Hunt
51c3d84ada Bug 919923 - Create a section in the HTML report with build details. r=jgriffin 2014-04-04 08:19:23 -04:00
Jonathan Griffin
8d70fe30b8 Bug 989048 - Use TimeoutException instead of Exception for emulator startup timeouts, r=mdas 2014-04-01 10:02:09 -07:00
David Burns
ee274b7421 Bug 989370: Update Marionette Stale Element Reference exception to give a meaningful explanation; r=jgriffin 2014-03-31 21:02:06 +01:00
David Burns
0a09d2bae4 Bug 967179: Enable b2g tests that do not need to be disabled; r=mdas 2014-04-03 22:14:57 +01:00
David Burns
2059b3528f Bug 991242: Remove Marionette unit test as this is covered by Gaia testing; r=jgriffin 2014-04-03 22:01:26 +01:00
Wes Kocher
6b9908e2fe Merge inbound to m-c 2014-03-25 19:54:55 -07:00
Alexandre Poirot
33a65e9ccd Bug 965257 - Expose Assert.jsm in mochitest-plain chrome script. r=ted 2014-03-25 12:03:21 -04:00
Jonathan Griffin
05107f9406 Bug 979650 - Always build with Marionette for Firefox, b2g desktop, r=ted 2014-03-11 13:22:34 -07:00
Andrew Halberstadt
f7a77becd6 Bug 985403 - Refactor MarionetteBaseRunner.start_marionette and pass in symbols_path by default, r=mdas 2014-03-20 11:41:11 -04:00
Dave Hunt
3231a289f8 Bug 979512 - Add a command line option to split the tests and run a specified chunk. r=jgriffin 2014-03-20 09:27:29 -04:00
Vicamo Yang
9d5db529f2 Bug 985537: add runEmulatorShell to Marionette. r=mdas 2014-03-20 13:01:25 +08:00
Andreas Tolfsen
b2cf0eb8a7 Bug 979299 - Reduce fragility in real time test. r=dburns
Sometimes the clock.sleep(0.1) may take shorter than 0.1 seconds.  This
isn't a test about precision in Python, but rather that the SystemClock
wrapper works as intended and returns a somewhat expected value.
2014-03-17 17:40:16 -04:00
William Lachance
d3bc526224 Bug 978333 - Try to use localhost for marionette webserver if possible. r=jgriffin 2014-03-17 15:28:23 -04:00
Vikas Mishra
7bc3ef3b37 Bug 959517 - Clarify connection error message, r=mdas 2014-03-17 22:19:35 +05:30
Vikas Mishra
81a54e475d Bug 974891 - Move TestCapabilities to test_capabilities.py file. r=ato 2014-03-14 23:57:03 +05:30
Jonathan Griffin
31cc642984 Bug 982361 - Bump marionette_client to 0.7.6, r=AutomatedTester 2014-03-11 18:16:54 -07:00
David Burns
6c5daf72c7 Bug 981568: Handle if we get IOError if B2G crashes during a test run; r=jgriffin 2014-03-11 17:10:16 +00:00
James Graham
796d2b9590 Bug 979338 - Document delete_session method in the python client API, r=mdas 2014-03-04 17:42:11 +00:00
Dave Hunt
8274cfb045 Bug 979577 - Test durations are always zero in the HTML report. r=jgriffin 2014-03-06 14:49:50 +00:00
Vicamo Yang
efa2c4786b Bug 975359: add test cases for B2G orientation sensor. r=jgriffin, f=slee 2014-03-05 10:37:50 +08:00