Commit Graph

998 Commits

Author SHA1 Message Date
Dave Hunt
a45e08d6c3 Bug 1051741 - Bump marionette_client version to 0.8.2. r=mdas 2014-08-11 02:48:00 -04:00
Wes Kocher
98f9eac6dd Merge m-c to inbound on a CLOSED TREE 2014-08-08 14:15:34 -07:00
Dave Hunt
6c0d3783fa Bug 1048987 - Remove autolog references from Marionette test runner. r=mdas 2014-08-07 05:52:00 -04:00
Malini Das
62fdc22e51 Bug 1048833 - Prevent unnecessary SpecialPowers loading. r=dburns 2014-08-06 08:33:00 -04:00
Chris Manchester
452dc51b37 Bug 1050511 - Log skipped tests in a marionette run only after logging suite_start.;r=jgraham 2014-08-08 12:02:39 +01:00
Malini Das
d35ca502b4 Bug 1038864 - Marionette find element fails on social chat component. r=automatedtester 2014-07-28 14:49:00 +02:00
Jonathan Griffin
fdb45a7f32 Bug 1043723 - Make Marionette work with Mulet+Gaia, r=dburns 2014-07-25 14:11:28 -07:00
Andreas Tolfsen
7343b0d3ce Bug 1044004 - Provide API documentation for Marionette.delete_session. r=dhunt 2014-07-25 09:03:00 +02:00
David Burns
a5397dce48 Bug 1036498: Add deprecation warnings to HTMLElement#size and HTMLElement#location in Marionette; r=jgriffin 2014-07-17 16:01:36 +01:00
Malini Das
02111d8443 Bug 1030442 - Be able to set and clear prefs at gecko startup, r=jgriffin 2014-07-22 17:27:25 -04:00
Andrew Halberstadt
87c87bcdf5 Bug 1040789 - Bump mozrunner and marionette-client for bug 1036926, r=davehunt 2014-07-22 15:37:34 -04:00
Jonathan Griffin
9a1fa655b3 Bug 1033822 - Remove unused browser-chrome code from Marionette, r=mdas 2014-07-21 14:35:15 -07:00
Chris Manchester
69ea41cde5 Bug 1040056 - Increment version of moztest required by marionette to include structured logging modification.;r=mdas 2014-07-21 11:29:22 -07:00
Bobby Holley
6728b23884 Bug 930091 - Clone marionette args into the sandbox rather than using a COW. r=mdas
The current setup causes the arguments object (which is modified from the
sandbox) to be a COW, which causes problems with our new restrictions on
COWs. According to jgriffin, these are should be JSON-serializable, so
the clone should be fine.
2014-07-20 15:36:31 -06:00
Andrew Halberstadt
a4bafc1807 Bug 1036926 - Add ability to specify local_port in emulator.setup_port_forwarding(), r=wlach 2014-07-18 10:32:13 -04:00
Ahmed Kachkach
4b03d2c025 Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Bobby Holley
7cf5df66a7 Bug 1038844 - Flip the scary automation pref for crashtests and marionette. r=jgriffin 2014-07-17 21:34:48 -07:00
Chris Manchester
8cd190a5d7 Bug 1036869 - Make mach accept structured logging command line arguments for marionette.;r=jgraham 2014-07-17 21:28:45 -04:00
Dave Hunt
3f06924c69 Bug 1034044 - Remove dependency on Marionette session from get_device_manager. r=jgriffin 2014-07-15 12:12:00 +02:00
William Lachance
751b256775 Bug 1036453 - "Typo in marionette docs". r=mdas 2014-07-09 08:47:00 +02:00
Chris Manchester
dcb4f5d477 Bug 1037318 - Log a test_start and test_end message for skipped tests in marionette.;r=jgraham 2014-07-16 19:07:21 -04:00
David Burns
81f08d82b3 Bug 1036365: Implement element.rect to marionette for getting element size and location; r=mdas 2014-07-16 20:58:37 +01:00
Malini Das
0f1d23a8a2 Bug 1036930 - Remove marionette/scripts/runemu.py, r=dburns 2014-07-16 11:44:40 -04:00
Ryan VanderMeulen
6ec439e478 Backed out changeset 3b96e18dd924 (bug 1030442) for Windows Marionette failures. 2014-07-15 12:23:47 -04:00
Malini Das
e208917734 Bug 1030442 - Be able to set and clear prefs at gecko startup, r=jgriffin 2014-07-15 11:21:58 -04:00
Carsten "Tomcat" Book
ce57787693 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Ahmed Kachkach
50db9012f6 Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Vicamo Yang
e0b0ce7651 Backed out changeset 506038ddee2c (bug 1000040) for causing bug 1035172 2014-07-10 13:27:49 +08:00
Luv Agarwal
a0610ba42d Bug 997770 - Allow users to explicitly input the connection timeout. Also the version of marionette_transport is updated from 0.2 to 0.3. r=mdas 2014-07-04 23:33:00 +02:00
Chris Manchester
ffb87becb3 Bug 956739 - Move marionette tests to structured logging.;r=mdas 2014-01-16 14:58:56 +00:00
John Shih
6606a95bbe Bug 1000040 - Part 3: Test cases. r=vchang, f=vyang 2014-06-12 16:07:23 +08:00
Jonathan Griffin
aae705d5c5 Bug 1033824 - Bump Marionette to 0.7.11, r=mdas 2014-07-03 16:17:18 -07:00
Ryan VanderMeulen
7ce98584a8 Merge m-c to b2g-inbound. a=merge 2014-07-03 12:38:30 -04:00
Alexandre Lissy
a68cae8067 Bug 1032799 - Pass -chrome argument to B2G Desktop. r=jgriffin 2014-07-02 01:49:00 -04:00
Jonathan Griffin
0a192b7fe6 Bug 1033033 - Don't access the device_manager during __init__, r=mdas 2014-07-02 15:23:10 -07:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Ting-Yu Lin
1cf0c94a29 Bug 951654 - Fix unable to locate element box0 intermittently. r=automatedtester
Set search timeout to 30 seconds so that box0 could have enough time to
appear. The original timeout 3 seconds might be too short when try
servers have heavy loading.
2014-06-23 02:54:00 +02:00
Wes Kocher
0c3673b6ff merge b2g-inbound to m-c a=merge 2014-06-23 18:55:45 -07:00
Projjol
62fe00a81e Bug 1021049 - Incorporate more basic information into marionette documentation. r=wlach 2014-06-23 11:34:55 -04:00
Bevis Tseng
8b88e0a5db Bug 921326 - Part 5: Add manifest.ini into webapi tests in marionette unit-tests.ini. r=htsai 2014-06-17 13:26:31 +08:00
Ed Morley
9d6e50b205 Backed out changeset 154690942f4d (bug 1027607) for morphing the test names to something that causes greater false positives 2014-06-23 15:56:01 +01:00
Ed Morley
b946c31602 Backed out changeset 3399263d2702 (bug 1027607) 2014-06-23 15:54:43 +01:00
Andrew Halberstadt
a8b241629f Bug 1027607 - Add missing 'self' on a CLOSED TREE, r=bustage 2014-06-23 08:45:52 -04:00
Andrew Halberstadt
5eb362b0a7 Bug 1027607 - Mozrunner should always pass in test_name to check_for_crashes when available, r=chmanchester 2014-06-23 08:10:30 -04:00
Malini Das
dfe2f6c88d Bug 1028254 - bump marionette client version to 0.7.10, r=davehunt 2014-06-20 12:17:31 -04:00
Andrew Halberstadt
e60605718c 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
51ba75d135 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Wes Kocher
e34177291e 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
7704c45325 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
cb97c4b298 Bug 1025838 - Add 'version' prefix to version number in HTML report. r=dhunt 2014-06-16 06:53:00 -04:00
Ting-Yu Lin
f6ddf353cd 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
772d8aebb7 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
dd76b7d29d 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
74116ed31d 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
Wes Kocher
42ab217b5b Merge inbound to m-c a=merge 2014-06-11 18:46:34 -07:00
Ed Morley
63eff9d511 Merge mozilla-central and b2g-inbound 2014-06-11 18:06:52 +01:00
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
Eddy Bruel
477b2d2f33 Bug 859372 - Refactor DevToolsUtils.js;r=past 2014-03-04 15:38:05 +01:00
Andreas Tolfsen
4757cb31a4 Bug 970680 - Limit number of decimals used in TimeoutException. r=dburns 2014-02-28 16:41:03 -05:00
Andrew Halberstadt
06fdef4132 Bug 976120 - shell.js should respect crash reporting environment, r=fabrice 2014-02-27 16:36:00 -05:00
David Burns
c51399006c Bug 976831: Remove unused getStatus method from Marionette; r=mdas 2014-02-26 17:06:24 +00:00
Malini Das
afe17e2494 Bug 975169 - Marionette test runner should not override textrunnerclass, version bump, r=jgriffiin,dburns 2014-02-25 16:08:37 -08:00
Ryan VanderMeulen
1b60c67eea Backed out changeset 2b3bda5a4744 (bug 975169) for Marionette-webapi failures. 2014-02-24 15:04:53 -05:00
Malini Das
0f044770cf Bug 975169 - Marionette test runner should not override textrunnerclass, version bump, r=jgriffiin,dburns 2014-02-24 12:11:08 -05:00
Andreas Tolfsen
b462b718e5 Bug 964366 - Session capabilities missing browserVersion. r=mdas 2014-02-20 15:36:56 -05:00
Andreas Tolfsen
f874b79dc6 Bug 962182 - Add "screenshot" command alias to Marionette. r=mdas 2014-02-20 15:36:35 -05:00
Andrew Halberstadt
034a3313aa Bug 972518 - Log qemu output to prevent stdout pipe from filling up, r=jgriffin 2014-02-20 09:28:22 -05:00
Andreas Tolfsen
26c11fe0c7 Bug 969387 - Guard against wrong arguments to MarionetteException. r=mdas 2014-02-20 08:43:55 -05:00
Malini Das
99b431480f Bug 974165 - bump marionette-client version to 0.7.4 and release to pypi 2014-02-19 16:28:12 -05:00
Conrad Irwin
58ebc8457f Bug 762556 - Error stack should contain column number. r=jorendorff 2014-02-19 11:30:08 -05:00
Nicolas B. Pierron
0a5c8127db Bug 970996 - Initialize the deviceManager's device-serial based on Marionette CLI. r=mdas 2014-02-19 07:55:50 -08:00
Wes Kocher
e1f70a40b7 Backed out changeset 018ee8ea0c12 (bug 972518) for breaking Mnw jobs on a CLOSED TREE 2014-02-18 16:47:51 -08:00
Andrew Halberstadt
ed04ee4814 Bug 972518 - Log qemu output to prevent stdout buffer from filling, r=jgriffin 2014-02-18 16:20:44 -05:00
Vicamo Yang
56a8a1c0bc Bug 970804 - 3/3: add test cases. r=mdas 2014-02-18 14:04:50 +08:00
Vicamo Yang
7d0a85006a Bug 970804 - 2/3: only launch test-container app when not available. r=mdas 2014-02-18 14:04:49 +08:00
Vicamo Yang
5d0fd51b62 Bug 970804 - 1/3: refine Marionette oop test case selection. r=mdas
1) ./mach marionette-webapi <dir>/
 - selects all test cases under <dir> and execute them only in
   in-process mode.
2) ./mach marionette-webapi --type=+oop <dir>/
 - selects all test cases under <dir> and execute them only in oop
   mode.
3) ./mach marionette-webapi --type=-oop <dir>/
 - selects all test cases under <dir> and execute them only in
   in-process mode.
4) ./mach marionette-webapi <test>
 - execute <test> only in in-process mode.
5) ./mach marionette-webapi --type=+oop <test>
 - execute <test> only in oop mode.
6) ./mach marionette-webapi --type=-oop <test>
 - execute <test> only in in-process mode.
7) ./mach marionette-webapi <dir>/manifest.ini
 - selects all active test cases listed in <dir>/manifest.ini and
   execute them in the mode(s) according to the manifest.
8) ./mach marionette-webapi --type=+oop <dir>/manifest.ini
 - selects all active, oop={true,both} test cases listed in
   <dir>/manifest.ini and execute them only in oop mode.
9) ./mach marionette-webapi --type=-oop <dir>/manifest.ini
 - selects all active, oop={false,both} test cases listed in
   <dir>/manifest.ini and execute them only in in-process mode.
2014-02-18 14:04:48 +08:00
Masayuki Nakano
a183cc5385 Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug 2014-02-15 09:57:39 +09:00
Thomas Zimmermann
3724e77f2c Bug 935525: Added NFC test infrastructure to build scripts, r=vyang,jgriffin 2013-11-06 12:59:41 +01:00
Andreas Tolfsen
e3838e9da2 Bug 964367 - Fix incorrect format on platformName capability. r=mdas
The platformName capability (which AFAICT isn't checked in use by any
dependants) should be a limited subset of prescribed platforms as
defined by the WebDriver specification.  System.appinfo.OS returns the
correct values, but not upper cased.

Additionally this patch introduces some tests and documentation for
the getSessionCapabilities function in Marionette and cleans up the
capability list.
2014-02-10 15:58:46 -05:00
Andrew Halberstadt
9db150a9ce Bug 949028 - Marionette runner should check for crash after each test, r=mdas 2014-02-10 14:08:39 -05:00
Malini Das
27b664b003 Bug 959520 - Make socket.timeout error messages more useful, r=jgriffin 2014-02-10 10:10:45 -05:00
Andreas Tolfsen
cfcc412200 Bug 940554 - Fix Marionette's newSession to return capabilities. r=mdas 2014-02-07 10:21:49 -05:00
Ryan VanderMeulen
cc7805c454 Backed out changeset 5d1c157bbb46 (bug 940554) for changing the Marionette script timeout message in a TBPL-unfriendly way.
CLOSED TREE
2014-02-06 15:37:48 -05:00
Andreas Tolfsen
334529cdc8 Bug 941158 - Honour expected failures in setUp or tearDown. r=jgriffin 2014-02-06 14:57:29 -05:00
Andreas Tolfsen
10357d24fa Bug 940554 - Fix Marionette's newSession to return capabilities. r=mdas 2014-02-06 09:46:28 -05:00
Wes Kocher
c27787e95f Backed out changeset a246bbc0c61c (bug 941158) for marionette bustage 2014-02-05 15:17:52 -08:00
Andreas Tolfsen
09762be6af Bug 941158 - Honour expected failures in setUp or tearDown. r=zac 2014-02-05 17:04:42 -05:00
Andreas Tolfsen
ed1449751c Bug 938228 - Fix marshaling of NodeList in executeScript. r=mdas 2014-02-05 17:04:42 -05:00
David Burns
23faa57ccc Bug 874868: Make sure that Marionette takes a screenshot of the the entire content canvas; r=mdas 2014-02-05 21:38:12 +00:00
Andrew Halberstadt
12a1c96bfd Bug 949028 - Add check for crashes to geckoinstance.py, r=mdas 2014-02-04 08:53:18 -05:00
Fabrice Desré
0b097b1807 Bug 966502 - Use Cu.cloneInto() instead of ObjectWrapper.jsm r=baku 2014-02-01 11:06:59 -08:00
David Burns
e59a44c799 Bug 965986: Correct typo in exception in Marionette Wait; r=mdas 2014-01-30 22:38:25 +00:00
Malini Das
612063d87d Bug 965782 - ignore certain delete_session exceptions in Marionette cleanup, r=wlach 2014-01-30 15:14:04 -05:00
Jonathan Griffin
3379dd9bbf Bug 948895 - Increase wait-for-homescreen timeout, r=ahal 2014-01-30 10:00:08 -08:00
Wes Kocher
e2c537010e Backed out changeset e5dfc4abbb91 (bug 940554) for b2g test bustage across the board on a CLOSED TREE 2014-01-28 18:23:22 -08:00
Dave Hunt
2ee61397d4 Bug 952530 - List all skipped/disabled tests rather than just the conditionally skipped tests. r=jgriffin 2014-01-28 15:28:56 -08:00
Andreas Tolfsen
f3e2f3fee2 Bug 940554 - Fix Marionette's newSession to return capabilities. r=mdas 2014-01-28 17:54:44 -05:00
Dave Hunt
d535a65cce Bug 963299 - Bump marionette_client version to 0.7.3. r=mdas 2014-01-28 13:02:43 +00:00
Phil Ringnalda
a567db82f3 Back out a37e6c57ae0f (bug 959520) for making marionette-webapi infinitely retry 2014-01-27 20:09:52 -08:00
David Burns
8d72f4cda9 Bug 959186 - Remove platform capability in favour of platformName; r=mdas 2014-01-27 23:42:10 +00:00
Andreas Tolfsen
7ae3d9a386 Bug 963598 - Allow custom message when Wait.until times out. r=dburns 2014-01-27 15:40:51 -05:00