Commit Graph

954 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
Wes Kocher
62217765cf Merge inbound to m-c a=merge 2014-06-11 18:46:34 -07:00
Ed Morley
446d6e3518 Merge mozilla-central and b2g-inbound 2014-06-11 18:06:52 +01:00
Jonathan Griffin
c1df2f470d Bug 1018436 - Fix import script problem on Windows, r=mdas 2014-06-11 11:26:28 -07: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
Ed Morley
0dd254ea3c Backed out changeset a8ad10daa7c0 (bug 932804) to fix the jenkins builds; a=jenkins 2014-06-10 16:34:27 +01:00
Ryan VanderMeulen
9cb39a8981 Merge m-c to b2g-inbound. a=merge 2014-06-09 18:17:11 -04:00
Mark Banner
e9c2b2dd2d Merge Elm to m-c. a=merge 2014-06-09 23:04:43 +01:00
Malini Das
7096eecaba Bug 932804 - compensate for statusbar in APZ touch, r=dburns 2014-06-09 12:37: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
Malini Das
a87db6b02f Bug 1017022 - call close() on a valid object, r=jgriffin 2014-06-02 11:01:28 -04: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
Jonathan Griffin
ba56c90766 Bug 1020396 - Bump marionette-transport to 0.2, r=mdas 2014-06-04 13:38:33 -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
Wes Kocher
ae520e3a9a Backed out changeset c9a08c041519 (bug 1020396) for Gu bustage on a CLOSED TREE 2014-06-04 16:59:54 -07:00
Jonathan Griffin
3b793fbea8 Bug 1020396 - Bump marionette-transport to 0.2, r=mdas 2014-06-04 13:38:33 -07: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
Carsten "Tomcat" Book
9c73951370 merge b2g-inbound to mozilla-central 2014-05-28 14:33:48 +02:00
Alexandre Poirot
50217e363e Bug 1016033 - Fix marionette server race when waiting for toplevel window. r=jgriffin 2014-05-26 10:43: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
Varun Raj
2667b75f07 Bug 1011668: Correct exception messaging formatting for Marionette B2G Crashes; r=automatedtester 2014-05-21 09:34:00 +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
David Burns
b00badcacd 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
89c6b53e64 Bug 1000883 - Marionette client should check for crashes on IOError, r=AutomatedTester 2014-05-09 10:12:27 -04:00
Malini Das
53068338fb Bug 932804 - Fix oop frame tapping bug, r=dburns 2014-05-07 17:01:07 -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
Benoit Girard
b1c12cd1d5 Bug 986160 - Add MozGtestFriend.h to deal with gtest in non test builds. r=glandium 2014-04-07 15:23:03 -04: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
Malini Das
ce80255571 Bug 995989 - fix APZ scrolling, r=dburns 2014-04-30 17:48:21 -04:00
Ryan VanderMeulen
c54f3e2567 Merge m-c to inbound on a CLOSED TREE. 2014-04-30 16:47:33 -04:00
Vicamo Yang
120e5aad58 Bug 996443: carry emulator arch automatically for mach commands. r=ahal 2014-05-01 00:57:39 +08: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
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
David Burns
436909f0ab Bug 929175: Part 1: Allow Marionette to switch to frameset frames. ; r=mdas 2014-01-18 20:08:36 +00:00
David Burns
2400ebbda9 Bug 929175: Part 2: Updating frames tests.; r=mdas 2014-04-25 14:41:17 +01:00
Andreas Tolfsen
e9382c303b Bug 999550 - Make check for B2G backwards compatible with Gecko 28 branch. r=bsilverberg 2014-04-25 07:47:00 -04:00
David Burns
6b4a618cf6 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
9932cfd810 Backed out changeset bc6ddc5dc31a (bug 929175) on request on a CLOSED TREE 2014-04-25 15:51:24 +02:00
Carsten "Tomcat" Book
34d1f9b747 Backed out changeset 6bb03867a3ad (bug 929175) 2014-04-25 15:50:33 +02:00
Carsten "Tomcat" Book
d7292e66b4 Backed out changeset a3e1f186d06a (bug 811747) 2014-04-25 15:50:28 +02:00
David Burns
cbb200d9a8 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
3ddb95e682 Bug 929175: Part 2: Updating frames tests.; r=mdas 2014-04-25 14:41:17 +01:00
David Burns
5862bc2115 Bug 929175: Part 1: Allow Marionette to switch to frameset frames. ; r=mdas 2014-01-18 20:08:36 +00:00
Eddy Bruel
1a6f90b913 Bug 859372 - Refactor transport.js; r=past 2014-04-24 13:23:30 +02:00
David Burns
8f667024ad Bug 967021: Check that a window listener is not null in marionette; r=mdas 2014-04-17 21:14:09 +01:00
David Burns
d70fc59129 Bug 990299: correct and enable window management test in Marionette; r=mdas 2014-04-17 20:48:27 +01:00
Malini Das
7903e00302 Bug 993478 - Let a user select docroot for the webserver, r=jgriffin 2014-04-10 13:02:23 -04:00
Jonathan Griffin
a771067e4e Bug 902711 - Make marionette_transport its own package, r=ato 2013-10-14 17:58:40 -07:00
Ed Morley
6bbfb15628 Backed out changeset 60d427dbb7dc (bug 993478) for gaia-ui-test failures; CLOSED TREE 2014-04-10 16:21:50 +01:00
Malini Das
e269beb17b Bug 991959 - fix chrome iframe switching, r=dburns 2014-04-10 10:33:39 -04:00
Malini Das
9ffff81eea Bug 958036 - fix scrolling in apps with APZ enabled, r=dburns 2014-04-10 10:26:08 -04:00
Malini Das
f873de7bef Bug 993478 - Let a user select docroot for the webserver, r=jgriffin 2014-04-10 10:11:33 -04:00
Carsten "Tomcat" Book
7cd09aa69d merge b2g-inbound to mozilla-central 2014-04-09 14:27:34 +02:00
David Burns
87b1eaafa7 Bug 990298: Correcting window switching test; r=jgriffin 2014-04-08 22:02:23 +01:00
Vicamo Yang
bca7e5f97b Bug 975442: recognize as emulator if device name begins with 'emulator'. r=jgriffin 2014-04-09 10:14:07 +08:00
David Burns
e7e442aff8 Bug 882687: Fixing test position test; r=mdas 2014-04-08 01:13:31 +01:00
David Burns
fa16197a34 Bug 811796: Add missing test files to the manifest; r=jgriffin 2014-04-08 01:09:30 +01:00
Ryan VanderMeulen
620c42bcde Merge inbound to m-c. 2014-04-04 14:51:38 -04:00
Dave Hunt
bfc008464e Bug 919923 - Create a section in the HTML report with build details. r=jgriffin 2014-04-04 08:19:23 -04:00
Jonathan Griffin
28124e2548 Bug 989048 - Use TimeoutException instead of Exception for emulator startup timeouts, r=mdas 2014-04-01 10:02:09 -07:00
David Burns
78e42a825b 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
1e5026eb9e Bug 967179: Enable b2g tests that do not need to be disabled; r=mdas 2014-04-03 22:14:57 +01:00
David Burns
08d7ee7fbe 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
622986d217 Merge inbound to m-c 2014-03-25 19:54:55 -07:00
Alexandre Poirot
7b3b1cc88a Bug 965257 - Expose Assert.jsm in mochitest-plain chrome script. r=ted 2014-03-25 12:03:21 -04:00
Jonathan Griffin
2c813577a2 Bug 979650 - Always build with Marionette for Firefox, b2g desktop, r=ted 2014-03-11 13:22:34 -07:00
Andrew Halberstadt
ca934641fa 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
bfb6cdcfe0 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
9a1921f04d Bug 985537: add runEmulatorShell to Marionette. r=mdas 2014-03-20 13:01:25 +08:00
Andreas Tolfsen
acb5b5b233 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
40b7f3a0f3 Bug 978333 - Try to use localhost for marionette webserver if possible. r=jgriffin 2014-03-17 15:28:23 -04:00
Vikas Mishra
7b95cc5017 Bug 959517 - Clarify connection error message, r=mdas 2014-03-17 22:19:35 +05:30
Vikas Mishra
46cd4c8a90 Bug 974891 - Move TestCapabilities to test_capabilities.py file. r=ato 2014-03-14 23:57:03 +05:30
Jonathan Griffin
58a8088aa9 Bug 982361 - Bump marionette_client to 0.7.6, r=AutomatedTester 2014-03-11 18:16:54 -07:00
David Burns
81c06fffa8 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
23649d548d Bug 979338 - Document delete_session method in the python client API, r=mdas 2014-03-04 17:42:11 +00:00
Dave Hunt
ed64d41323 Bug 979577 - Test durations are always zero in the HTML report. r=jgriffin 2014-03-06 14:49:50 +00:00
Vicamo Yang
447b2c7196 Bug 975359: add test cases for B2G orientation sensor. r=jgriffin, f=slee 2014-03-05 10:37:50 +08:00
Eddy Bruel
15989ab51b Bug 859372 - Refactor DevToolsUtils.js;r=past 2014-03-04 15:38:05 +01:00
Andreas Tolfsen
b72fe61222 Bug 970680 - Limit number of decimals used in TimeoutException. r=dburns 2014-02-28 16:41:03 -05:00
Andrew Halberstadt
225ecc8505 Bug 976120 - shell.js should respect crash reporting environment, r=fabrice 2014-02-27 16:36:00 -05:00
David Burns
3485871e32 Bug 976831: Remove unused getStatus method from Marionette; r=mdas 2014-02-26 17:06:24 +00:00
Malini Das
fa4d3d1072 Bug 975169 - Marionette test runner should not override textrunnerclass, version bump, r=jgriffiin,dburns 2014-02-25 16:08:37 -08:00
Ryan VanderMeulen
2abee72911 Backed out changeset 2b3bda5a4744 (bug 975169) for Marionette-webapi failures. 2014-02-24 15:04:53 -05:00
Malini Das
243f81f7c1 Bug 975169 - Marionette test runner should not override textrunnerclass, version bump, r=jgriffiin,dburns 2014-02-24 12:11:08 -05:00
Andreas Tolfsen
dd71988372 Bug 964366 - Session capabilities missing browserVersion. r=mdas 2014-02-20 15:36:56 -05:00
Andreas Tolfsen
0dfad40f0e Bug 962182 - Add "screenshot" command alias to Marionette. r=mdas 2014-02-20 15:36:35 -05:00
Andrew Halberstadt
91fe25a46d Bug 972518 - Log qemu output to prevent stdout pipe from filling up, r=jgriffin 2014-02-20 09:28:22 -05:00
Andreas Tolfsen
dc7f43c60c Bug 969387 - Guard against wrong arguments to MarionetteException. r=mdas 2014-02-20 08:43:55 -05:00
Malini Das
ed66dbd708 Bug 974165 - bump marionette-client version to 0.7.4 and release to pypi 2014-02-19 16:28:12 -05:00
Conrad Irwin
e115efe2f3 Bug 762556 - Error stack should contain column number. r=jorendorff 2014-02-19 11:30:08 -05:00
Nicolas B. Pierron
ba2022ad67 Bug 970996 - Initialize the deviceManager's device-serial based on Marionette CLI. r=mdas 2014-02-19 07:55:50 -08:00
Wes Kocher
782cf1ef3a Backed out changeset 018ee8ea0c12 (bug 972518) for breaking Mnw jobs on a CLOSED TREE 2014-02-18 16:47:51 -08:00
Andrew Halberstadt
529b829a83 Bug 972518 - Log qemu output to prevent stdout buffer from filling, r=jgriffin 2014-02-18 16:20:44 -05:00
Vicamo Yang
0114db1bf2 Bug 970804 - 3/3: add test cases. r=mdas 2014-02-18 14:04:50 +08:00
Vicamo Yang
7a0b374e73 Bug 970804 - 2/3: only launch test-container app when not available. r=mdas 2014-02-18 14:04:49 +08:00
Vicamo Yang
795ab447ae 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
b3b19a9e2f 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
bf8276253c Bug 935525: Added NFC test infrastructure to build scripts, r=vyang,jgriffin 2013-11-06 12:59:41 +01:00
Andreas Tolfsen
d698dad175 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
f27311905f Bug 949028 - Marionette runner should check for crash after each test, r=mdas 2014-02-10 14:08:39 -05:00
Malini Das
e9b2654700 Bug 959520 - Make socket.timeout error messages more useful, r=jgriffin 2014-02-10 10:10:45 -05:00
Andreas Tolfsen
0fd697a765 Bug 940554 - Fix Marionette's newSession to return capabilities. r=mdas 2014-02-07 10:21:49 -05:00
Ryan VanderMeulen
6b07dd0f8d 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
0096017c5d Bug 941158 - Honour expected failures in setUp or tearDown. r=jgriffin 2014-02-06 14:57:29 -05:00
Andreas Tolfsen
6d27822d35 Bug 940554 - Fix Marionette's newSession to return capabilities. r=mdas 2014-02-06 09:46:28 -05:00
Wes Kocher
a56c855b8e Backed out changeset a246bbc0c61c (bug 941158) for marionette bustage 2014-02-05 15:17:52 -08:00
Andreas Tolfsen
021a30a380 Bug 941158 - Honour expected failures in setUp or tearDown. r=zac 2014-02-05 17:04:42 -05:00
Andreas Tolfsen
03f5cc241e Bug 938228 - Fix marshaling of NodeList in executeScript. r=mdas 2014-02-05 17:04:42 -05:00
David Burns
d2fd82b4f6 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
beb064b22a Bug 949028 - Add check for crashes to geckoinstance.py, r=mdas 2014-02-04 08:53:18 -05:00
Fabrice Desré
da7e46af81 Bug 966502 - Use Cu.cloneInto() instead of ObjectWrapper.jsm r=baku 2014-02-01 11:06:59 -08:00
David Burns
0063737dca Bug 965986: Correct typo in exception in Marionette Wait; r=mdas 2014-01-30 22:38:25 +00:00
Malini Das
6e60cd0ae3 Bug 965782 - ignore certain delete_session exceptions in Marionette cleanup, r=wlach 2014-01-30 15:14:04 -05:00
Jonathan Griffin
98de3142f3 Bug 948895 - Increase wait-for-homescreen timeout, r=ahal 2014-01-30 10:00:08 -08:00
Wes Kocher
88f1a2e0d5 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
0f7bfe5628 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
456f67ec4a Bug 940554 - Fix Marionette's newSession to return capabilities. r=mdas 2014-01-28 17:54:44 -05:00
Dave Hunt
06e7c3aa24 Bug 963299 - Bump marionette_client version to 0.7.3. r=mdas 2014-01-28 13:02:43 +00:00
Phil Ringnalda
44a41bb21e Back out a37e6c57ae0f (bug 959520) for making marionette-webapi infinitely retry 2014-01-27 20:09:52 -08:00
David Burns
cfe6cfe118 Bug 959186 - Remove platform capability in favour of platformName; r=mdas 2014-01-27 23:42:10 +00:00
Andreas Tolfsen
b54635569b Bug 963598 - Allow custom message when Wait.until times out. r=dburns 2014-01-27 15:40:51 -05:00
Malini Das
500bfc3124 Bug 959520 - Make socket.timeout error messages more useful, r=jgriffin 2014-01-27 15:07:50 -05:00
Andreas Tolfsen
219b6a3b2f Bug 963166 - Add getWindowHandles end-point for WebDriver compatibility. r=dburns 2014-01-27 08:18:27 -05:00
Adarsh Dinesh
674912704c Bug 961648 - Provide a helpful error message when test variables JSON file cannot be parsed; r=dhunt 2014-01-27 10:53:47 +00:00
Andreas Tolfsen
de5bdba6a9 Bug 963162 - Add WebDriver compatible getWindowHandle alias. r=dburns
getCurrentWindowHandle and getWindow are both aliases to this command
now.
2014-01-24 10:47:54 -05:00
Andreas Tolfsen
cf47dd075e Bug 941148 - Rename screenShot to takeScreenshot for webdriver compliance. r=dburns 2014-01-24 08:45:58 -05:00
Andreas Tolfsen
9397f67d75 Bug 941145 - Rename goUrl to get for WebDriver compatibility. r=dburns 2014-01-24 08:39:23 -05:00
Andreas Tolfsen
ef65e8ac1d Bug 941144 - getWindows not matching Selenium command. r=dburns 2014-01-24 08:30:10 -05:00
Andreas Tolfsen
192cd998cb Bug 948075 - Add expected conditions to Marionette. r=mdas r=dhunt 2014-01-24 12:22:12 +00:00
Andreas Tolfsen
11c33eaff6 Bug 961792 - Break iteration when browser is found. r=mdas
The iteration used to look up the current window's server-assigned
unique identifier in Marionette continues after the response has been
sent.  This is unnecessary and a potential synchronization problem
because the client only expects a single response.
2014-01-21 13:31:32 -05:00
Andreas Tolfsen
4cc3306e81 Bug 941132 - getElementPosition not matching webdriver command. r=dburns 2014-01-22 14:04:04 -05:00
Andreas Tolfsen
7c1599c82c Bug 941136 - getUrl not matching webdriver command getCurrentUrl. r=dburns 2014-01-21 13:31:31 -05:00
Andreas Tolfsen
7571828c3f Bug 958024 - Wrap last exception from Marionette's Wait in TimeoutException. r=davehunt, r=mdas 2014-01-22 12:24:49 -05:00
William Lachance
c8f983269b Bug 961874 - Python client should delete marionette session in cleanup(). r=mdas 2014-01-22 10:44:26 -05:00
Ryan VanderMeulen
8f59cb59b9 Backed out 3 changesets (bug 941132, bug 941136, bug 961792) for breaking the Marionette harness. CLOSED TREE
Backed out changeset 301044380886 (bug 961792)
Backed out changeset 236a56500ef3 (bug 941132)
Backed out changeset 02130207774e (bug 941136)
2014-01-21 14:47:41 -05:00
Andreas Tolfsen
6a4c89923e Bug 961792 - Break iteration when browser is found. r=mdas
The iteration used to look up the current window's server-assigned
unique identifier in Marionette continues after the response has been
sent.  This is unnecessary and a potential synchronization problem
because the client only expects a single response.
2014-01-21 13:31:32 -05:00
Andreas Tolfsen
03306765c0 Bug 941132 - getElementPosition not matching webdriver command. r=dburns 2014-01-21 13:31:31 -05:00
Andreas Tolfsen
6df0beb299 Bug 941136 - getUrl not matching webdriver command getCurrentUrl. r=dburns 2014-01-21 13:31:31 -05:00
Andreas Tolfsen
526415a16a Bug 941140 - getWindow not matching webdriver command. r=dburns 2014-01-21 11:40:20 -05:00
Andreas Tolfsen
cc1b54655c Bug 941129 - Fix getAllCookies not matching WebDriver command. r=dburns
The protocol command getAllCookies remains for backwards compatibility.
2014-01-21 11:40:20 -05:00
Ryan VanderMeulen
e216abf30b Merge b2g-inbound to m-c. 2014-01-17 15:04:32 -05:00
Carsten "Tomcat" Book
4d4fd60b5a Merge mozilla-central to b2g-inbound 2014-01-17 11:06:46 +01:00
Andrew Halberstadt
1e857aeb4a Bug 960375 - Marionette runner should pass mozinfo.info into manifestparser, r=mdas 2014-01-17 12:42:40 +08:00
Andreas Tolfsen
b279dbf288 Bug 941102 - Fix closeWindow not matching WebDriver command close. r=dburns
The closeWindow request type name has been left for backwards
compatibility.
2014-01-17 10:03:43 -05:00
Andreas Tolfsen
487bf41fb6 Bug 936044 - Fix wrong license header for Marionette atoms. r=dburns
The atoms come licensed under the Apache 2.0 License from the Selenium
project.
2014-01-17 10:03:43 -05:00
Edgar Chen
5284ea1427 Bug 956655 - Part 1: Move MobileConnection related files to dom/mobileconnection. r=smaug,khuey
--HG--
rename : dom/network/interfaces/nsIDOMMobileConnection.idl => dom/mobileconnection/interfaces/nsIDOMMobileConnection.idl
rename : dom/network/interfaces/nsIMobileConnectionProvider.idl => dom/mobileconnection/interfaces/nsIMobileConnectionProvider.idl
rename : dom/network/tests/marionette/manifest.ini => dom/mobileconnection/tests/marionette/manifest.ini
rename : dom/network/tests/marionette/test_call_barring_change_password.js => dom/mobileconnection/tests/marionette/test_call_barring_change_password.js
rename : dom/network/tests/marionette/test_call_barring_get_option.js => dom/mobileconnection/tests/marionette/test_call_barring_get_option.js
rename : dom/network/tests/marionette/test_call_barring_set_error.js => dom/mobileconnection/tests/marionette/test_call_barring_set_error.js
rename : dom/network/tests/marionette/test_mobile_connections_array_uninitialized.js => dom/mobileconnection/tests/marionette/test_mobile_connections_array_uninitialized.js
rename : dom/network/tests/marionette/test_mobile_data_connection.js => dom/mobileconnection/tests/marionette/test_mobile_data_connection.js
rename : dom/network/tests/marionette/test_mobile_data_location.js => dom/mobileconnection/tests/marionette/test_mobile_data_location.js
rename : dom/network/tests/marionette/test_mobile_data_state.js => dom/mobileconnection/tests/marionette/test_mobile_data_state.js
rename : dom/network/tests/marionette/test_mobile_icc_change.js => dom/mobileconnection/tests/marionette/test_mobile_icc_change.js
rename : dom/network/tests/marionette/test_mobile_last_known_network.js => dom/mobileconnection/tests/marionette/test_mobile_last_known_network.js
rename : dom/network/tests/marionette/test_mobile_mmi.js => dom/mobileconnection/tests/marionette/test_mobile_mmi.js
rename : dom/network/tests/marionette/test_mobile_networks.js => dom/mobileconnection/tests/marionette/test_mobile_networks.js
rename : dom/network/tests/marionette/test_mobile_operator_names.js => dom/mobileconnection/tests/marionette/test_mobile_operator_names.js
rename : dom/network/tests/marionette/test_mobile_preferred_network_type.js => dom/mobileconnection/tests/marionette/test_mobile_preferred_network_type.js
rename : dom/network/tests/marionette/test_mobile_preferred_network_type_by_setting.js => dom/mobileconnection/tests/marionette/test_mobile_preferred_network_type_by_setting.js
rename : dom/network/tests/marionette/test_mobile_roaming_preference.js => dom/mobileconnection/tests/marionette/test_mobile_roaming_preference.js
rename : dom/network/tests/marionette/test_mobile_set_radio.js => dom/mobileconnection/tests/marionette/test_mobile_set_radio.js
rename : dom/network/tests/marionette/test_mobile_voice_state.js => dom/mobileconnection/tests/marionette/test_mobile_voice_state.js
2013-12-24 15:55:52 +08:00
Edgar Chen
972f9a3c01 Backed out changeset 10348da2438a (Bug 956655) 2014-01-17 13:08:59 +08:00
Edgar Chen
713b19196f Bug 956655 - Part 1: Move MobileConnection related files to dom/mobileconnection. r=smaug,khuey
--HG--
rename : dom/network/interfaces/nsIDOMMobileConnection.idl => dom/mobileconnection/interfaces/nsIDOMMobileConnection.idl
rename : dom/network/interfaces/nsIMobileConnectionProvider.idl => dom/mobileconnection/interfaces/nsIMobileConnectionProvider.idl
rename : dom/network/src/MobileConnection.cpp => dom/mobileconnection/src/MobileConnection.cpp
rename : dom/network/src/MobileConnection.h => dom/mobileconnection/src/MobileConnection.h
rename : dom/network/src/MobileConnectionArray.cpp => dom/mobileconnection/src/MobileConnectionArray.cpp
rename : dom/network/src/MobileConnectionArray.h => dom/mobileconnection/src/MobileConnectionArray.h
rename : dom/network/tests/marionette/manifest.ini => dom/mobileconnection/tests/marionette/manifest.ini
rename : dom/network/tests/marionette/test_call_barring_change_password.js => dom/mobileconnection/tests/marionette/test_call_barring_change_password.js
rename : dom/network/tests/marionette/test_call_barring_get_option.js => dom/mobileconnection/tests/marionette/test_call_barring_get_option.js
rename : dom/network/tests/marionette/test_call_barring_set_error.js => dom/mobileconnection/tests/marionette/test_call_barring_set_error.js
rename : dom/network/tests/marionette/test_mobile_data_connection.js => dom/mobileconnection/tests/marionette/test_mobile_data_connection.js
rename : dom/network/tests/marionette/test_mobile_data_location.js => dom/mobileconnection/tests/marionette/test_mobile_data_location.js
rename : dom/network/tests/marionette/test_mobile_data_state.js => dom/mobileconnection/tests/marionette/test_mobile_data_state.js
rename : dom/network/tests/marionette/test_mobile_last_known_network.js => dom/mobileconnection/tests/marionette/test_mobile_last_known_network.js
rename : dom/network/tests/marionette/test_mobile_mmi.js => dom/mobileconnection/tests/marionette/test_mobile_mmi.js
rename : dom/network/tests/marionette/test_mobile_networks.js => dom/mobileconnection/tests/marionette/test_mobile_networks.js
rename : dom/network/tests/marionette/test_mobile_operator_names.js => dom/mobileconnection/tests/marionette/test_mobile_operator_names.js
rename : dom/network/tests/marionette/test_mobile_preferred_network_type.js => dom/mobileconnection/tests/marionette/test_mobile_preferred_network_type.js
rename : dom/network/tests/marionette/test_mobile_preferred_network_type_by_setting.js => dom/mobileconnection/tests/marionette/test_mobile_preferred_network_type_by_setting.js
rename : dom/network/tests/marionette/test_mobile_roaming_preference.js => dom/mobileconnection/tests/marionette/test_mobile_roaming_preference.js
rename : dom/network/tests/marionette/test_mobile_set_radio.js => dom/mobileconnection/tests/marionette/test_mobile_set_radio.js
rename : dom/network/tests/marionette/test_mobile_voice_state.js => dom/mobileconnection/tests/marionette/test_mobile_voice_state.js
2013-12-24 15:55:52 +08:00
Ryan VanderMeulen
b05202b7e2 Merge inbound to m-c. 2014-01-16 15:06:12 -05:00
David Burns
63f9054026 Bug 927285: Fix for intermittent on test_submit.py; r=me 2014-01-16 15:57:18 +00:00
Jonathan Griffin
3ccfbd9601 Bug 959730 - Move cleanup logic out of __del__, r=dburns 2014-01-15 11:58:54 -08:00
Ed Morley
aa88ab2dc2 Merge mozilla-central and b2g-inbound
--HG--
rename : content/events/src/nsDOMEvent.h => dom/events/nsDOMEvent.h
2014-01-15 18:09:12 +00:00
Alexandre Poirot
291e390c9f Bug 891882 - Activate touch events on b2g desktop. r=vingtetun, r=mdas 2014-01-15 09:28:04 -05:00
Malini Das
a426c588b6 Bug 956803 - Fix busted autogen docs, r=wlach 2014-01-15 15:18:23 +08:00
David Burns
ff76fb9b95 Bug 951453: Updating capabilities of Marionette; r=mdas 2013-12-18 00:19:11 +00:00
Andreas Tolfsen
a26664112d Bug 957248 - Use marionette.timeout if no explicit timeout is given for Wait. r=davehunt 2014-01-10 08:48:56 -05:00
Andreas Tolfsen
4f0de9f668 Bug 957162 - Marionette Wait's should indicate timeout duration. r=davehunt 2014-01-08 16:06:05 -05:00
Dave Hunt
d317da5c6e Bug 950641 - Automatically use the appropriate GeckoInstance class. r=jgriffin 2013-12-20 13:12:40 +00:00
Rob Wood
1e8dc055f7 Bug 925688 - Marionette unit test intermittent failure, temporarily disable the test; r=mdas 2013-12-18 19:10:22 -05:00
Ryan VanderMeulen
10ea66eca4 Backed out changeset aad5b9304896 (bug 951453) for Gaia UI test perma-fail. 2013-12-18 14:20:09 -05:00
Dave Hunt
ee896e3b27 Bug 867600 - Change hardcoded sleeps into waits. r=mdas 2013-12-18 17:30:25 +00:00
Dave Hunt
fcdca3a1c0 Bug 947205 - fix missing test durations from the HTML report, r=mdas 2013-12-18 13:25:38 -05:00
David Burns
37b615116e Bug 951453: Updating capabilities of Marionette; r=mdas 2013-12-18 16:40:14 +00:00
Malini Das
0e0456092c Bug 950098 - Remove dependency on pylib, r=ahal 2013-12-18 11:20:16 -05:00
Ryan VanderMeulen
01e5988548 Merge m-c to inbound. 2013-12-17 16:20:31 -05:00