Commit Graph

845 Commits

Author SHA1 Message Date
Chris Manchester
cfb4cb5bd8 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
acf000fc8b Bug 1048833 - Prevent unnecessary SpecialPowers loading. r=dburns 2014-08-06 08:33:00 -04:00
Malini Das
dee908c600 Bug 1038864 - Marionette find element fails on social chat component. r=automatedtester 2014-07-28 14:49:00 +02:00
Jonathan Griffin
203c18b70f Bug 1043723 - Make Marionette work with Mulet+Gaia, r=dburns 2014-07-25 14:11:28 -07:00
Andreas Tolfsen
a0fcdb4dc1 Bug 1044004 - Provide API documentation for Marionette.delete_session. r=dhunt 2014-07-25 09:03:00 +02:00
David Burns
0ac71e9ff4 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
c6fabdd44c Bug 1030442 - Be able to set and clear prefs at gecko startup, r=jgriffin 2014-07-22 17:27:25 -04:00
Andrew Halberstadt
4679ba0ab3 Bug 1040789 - Bump mozrunner and marionette-client for bug 1036926, r=davehunt 2014-07-22 15:37:34 -04:00
Jonathan Griffin
abe1606126 Bug 1033822 - Remove unused browser-chrome code from Marionette, r=mdas 2014-07-21 14:35:15 -07:00
Chris Manchester
8a783ceda2 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
221e294af0 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
cd43fa61ae 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
68c23f6dff Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Bobby Holley
7239458847 Bug 1038844 - Flip the scary automation pref for crashtests and marionette. r=jgriffin 2014-07-17 21:34:48 -07:00
Chris Manchester
ccdfb4555d Bug 1036869 - Make mach accept structured logging command line arguments for marionette.;r=jgraham 2014-07-17 21:28:45 -04:00
Dave Hunt
d2c5ea5656 Bug 1034044 - Remove dependency on Marionette session from get_device_manager. r=jgriffin 2014-07-15 12:12:00 +02:00
William Lachance
b365277ac3 Bug 1036453 - "Typo in marionette docs". r=mdas 2014-07-09 08:47:00 +02:00
Chris Manchester
2f9c833e29 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
8d69fe5527 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
cb67fc5adf Bug 1036930 - Remove marionette/scripts/runemu.py, r=dburns 2014-07-16 11:44:40 -04:00
Ryan VanderMeulen
5b3bcd473a Backed out changeset 3b96e18dd924 (bug 1030442) for Windows Marionette failures. 2014-07-15 12:23:47 -04:00
Malini Das
569cdd6fd6 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
f0569c8ad2 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Ahmed Kachkach
c4872d76ea Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Vicamo Yang
2bf74b839c Backed out changeset 506038ddee2c (bug 1000040) for causing bug 1035172 2014-07-10 13:27:49 +08:00
Luv Agarwal
d367464dda 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
bd0758dd52 Bug 956739 - Move marionette tests to structured logging.;r=mdas 2014-01-16 14:58:56 +00:00
John Shih
e86c00dca8 Bug 1000040 - Part 3: Test cases. r=vchang, f=vyang 2014-06-12 16:07:23 +08:00
Jonathan Griffin
3c28d0ebcd Bug 1033824 - Bump Marionette to 0.7.11, r=mdas 2014-07-03 16:17:18 -07:00
Ryan VanderMeulen
5183e35648 Merge m-c to b2g-inbound. a=merge 2014-07-03 12:38:30 -04:00
Alexandre Lissy
72425727e0 Bug 1032799 - Pass -chrome argument to B2G Desktop. r=jgriffin 2014-07-02 01:49:00 -04:00
Jonathan Griffin
9fca7d1267 Bug 1033033 - Don't access the device_manager during __init__, r=mdas 2014-07-02 15:23:10 -07:00
Jim Blandy
4d6a633bba 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
4c7c85652e 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
17ccd46921 merge b2g-inbound to m-c a=merge 2014-06-23 18:55:45 -07:00
Projjol
416668b7a1 Bug 1021049 - Incorporate more basic information into marionette documentation. r=wlach 2014-06-23 11:34:55 -04:00
Bevis Tseng
9022127a2a 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
68344ef586 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
73707d1cc0 Backed out changeset 3399263d2702 (bug 1027607) 2014-06-23 15:54:43 +01:00
Andrew Halberstadt
7b3da6caf1 Bug 1027607 - Add missing 'self' on a CLOSED TREE, r=bustage 2014-06-23 08:45:52 -04:00
Andrew Halberstadt
6b61c5ac47 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
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