Commit Graph

1003 Commits

Author SHA1 Message Date
Dave Hunt
4bd50dc82a Bug 1038868 - Use B2GDeviceRunner in the Marionette client. r=ahalberstadt 2014-11-12 14:52:59 +00:00
Dave Hunt
62343d3ee0 Bug 1095751 - Pass optional device serial to mozversion in Marionette runner. r=ahalberstadt 2014-11-12 13:26:57 +00:00
David Burns
630eab6626 Bug 1073732: Allow Marionette to have sessions ids that are unique for that session; r=jgriffin
--HG--
extra : rebase_source : 4ce931fcb6accc581867febe061151cdddf17ece
2014-11-11 15:55:23 +00:00
Carsten "Tomcat" Book
ef351901cb Backed out changeset 5548373ee88b (bug 1073732) for marionette test failures on a CLOSED TREE 2014-11-11 13:51:22 +01:00
David Burns
5905a519f9 Bug 1073732: Allow Marionette to have sessions ids that are unique for that session; r=jgriffin
The string is an opaque string(uuid) that uniquely identifies the session. It gives us webdriver compability and we can
use it to set sessions if we are doing restarts

--HG--
extra : rebase_source : e2d59e16a82d431da4a445f9890433353a6ac7f7
2014-11-10 16:47:23 +00:00
Andrew Halberstadt
6ebfd0d221 Bug 1088905 - Support with syntax when setting marionette's context, r=ato
Usage:
# content scope
with marionette.using_context(marionette.CONTEXT_CHROME):
    # chrome scope
    ... do stuff ...
# content scope

--HG--
extra : rebase_source : 1a823ec0a92e14b0f49df961e155a64917efe994
2014-11-07 11:35:43 -05:00
Dave Hunt
6aa0f50d0f Bug 1087251 - Gather version and device information for HTML logging. r=jgraham 2014-11-07 12:49:00 +00:00
Chris Manchester
639e784555 Bug 1028407 - Establish connection to server faster. r=ato
There was a 5 second sleep() in the Marionette client. The history of
its value is unclear, but bug comments seem to indicate that Gecko
wasn't completely initialized during the observer notification that
starts the server. We removed the sleep and added a wait for the
"browser-delayed-startup-finished" message in the desktop case
before starting a session.
2014-07-03 17:03:10 -07:00
Chris Manchester
1f44ce337a Bug 1091662 - Support for modifier keys in chrome scope in marionette. r=dburns
* * *
Bug 1091662 - Add a test case for modifier keys.
2014-11-04 19:50:44 -05:00
Felipe Gomes
4d9d4fa566 Bug 1093691 - Part 2. Safeguard Marionette harness from e10s-on-nightly pref. r=cmanchester 2014-11-05 02:13:19 -02:00
Zac Campbell
4a30a38d2b Bug 1090962 - Skip steps of gather_debug when marionette session does not exist. r=davehunt 2014-11-03 14:02:23 +00:00
Malini Das
c373764f49 Bug 1091205 - log marionette requests, r=jgriffin 2014-10-29 16:49:23 -04:00
Andrew Halberstadt
534ea5529f Bug 1080764 - Add 'anon' and 'anon attribute' search strategies to marionette.find_element(), r=AutomatedTester
The 'anon' search strategy maps directly to nsIXULDocument.getAnonymousNodes() whereas the 'anon attribute'
strategy maps to nsIXULDocument.getAnonymousElementByAttribute(). These strategies are needed for clients who
wish to find and manipulate anonymous content, typically found in the Firefox chrome. For more details, see:
https://developer.mozilla.org/en-US/docs/XBL/XBL_1.0_Reference/Anonymous_Content

--HG--
rename : testing/marionette/client/marionette/tests/unit/test_switch_anonymous_content.py => testing/marionette/client/marionette/tests/unit/test_anonymous_content.py
2014-10-28 17:37:24 -04:00
Dave Hunt
70b88b3d8d Bug 1090272 - Raise NoSuchFrameException when attempting to switch to a non-existant frame by index. r=mdas 2014-10-28 10:41:00 +01:00
Zac Campbell
2b56039197 Bug 1075451 - Allow test suites not using test container to neither open nor close. r=mdas 2014-10-28 12:08:28 +00:00
Morris Tseng
75baf845e5 Bug 1074736 - Marionette test for selection carets with multiple range support. r=mdas 2014-10-28 02:02:00 +01:00
Morris Tseng
678c42d89f Bug 1074736 - selection_rect_list should consider multiple range. r=mdas 2014-10-22 20:03:00 +02:00
Dave Hunt
777c48b4ea Bug 1065381 - Add result_callbacks to include test debug in HTML reports for failures and errors. r=jgraham 2014-10-27 06:03:00 +01:00
Ryan VanderMeulen
8c1e5ba605 Backed out changesets 94c5f5317e4b, f43962d6b41e, and 6e0a13090cd8 (bug 1074736) for various carat-related Marionette failures.
--HG--
extra : rebase_source : e26c24158df6cc8198ca57f505028a1f82aa7264
2014-10-27 15:39:44 -04:00
Ryan VanderMeulen
fdfac962ae Bug 1078237 - Disable test_switch_frame.py on Windows for frequent failures. 2014-10-27 15:21:41 -04:00
Morris Tseng
a15cf8e213 Bug 1074736 - Marionette test for selection carets with multiple range support. r=mdas 2014-10-26 20:47:00 +01:00
Morris Tseng
98a611eb5e Bug 1074736 - selection_rect_list should consider multiple range. r=mdas 2014-10-22 20:03:00 +02:00
Carsten "Tomcat" Book
d7c0d2484b Backed out changeset 141ea70b1caf (bug 1074736) for win marionette test failures 2014-10-24 14:46:28 +02:00
Carsten "Tomcat" Book
b3aa3e4324 Backed out changeset 5b1f330c9298 (bug 1074736) 2014-10-24 14:45:38 +02:00
Morris Tseng
f89772c17d Bug 1074736 - Marionette test for selection carets with multiple range support. r=mdas 2014-10-23 23:30:00 +02:00
Morris Tseng
9e8555519b Bug 1074736 - selection_rect_list should consider multiple range. r=mdas 2014-10-22 20:03:00 +02:00
Rob Wood
23498200e6 Bug 1084565 - Add option to output logcat to stdout. r=mdas 2014-10-21 10:27:37 -04:00
Ryan VanderMeulen
cafd9a2cf7 Merge m-c to inbound. a=merge
CLOSED TREE
2014-10-22 13:16:06 -04:00
Ryan VanderMeulen
4109239dc9 Backed out changeset 2b1c2663f92a (bug 1087038) because it depends on a patch that was backed out.
CLOSED TREE
2014-10-22 13:13:35 -04:00
Andrew Halberstadt
0d77584624 Backout bug 1084412 for Gij bustage and causing Gaia tree closures 2014-10-22 12:34:42 -04:00
Malini Das
8e53554c0a Bug 1075487 - find b2g pid based on string splitting, r=jgriffin 2014-10-22 10:38:31 -04:00
Tim Chien
8100cf3d91 Bug 1087038 - Properly check for found element(s) in marionette ElementManager.p.find, r=dburns 2014-10-22 05:02:00 +02:00
Carsten "Tomcat" Book
bbd774f409 Backed out changeset 04a18f29f774 (bug 1087038) for marionette test failures 2014-10-22 14:17:32 +02:00
Chris Manchester
14492db1d3 Bug 1046512 - Disable test_set_window_size.py on linux due to a latent timing problem exposed by modifications to marionette. r=jgriffin 2014-10-21 11:23:18 -04:00
Chris Manchester
2f9989ee5e Bug 1046512 - Modification to marionette to support running tests with e10s enabled. r=jgriffin 2014-10-21 11:22:26 -04:00
Tim Chien
06ea32e5fa Bug 1087038 - Properly check for found element(s) in marionette ElementManager.p.find, r=dburns 2014-10-22 03:25:00 +02:00
Andrew Halberstadt
4710c4640a Bug 1084412 - marionette.findElements returns immediately when searchTimeout is set, r=AutomatedTester 2014-10-21 08:40:24 -04:00
Dave Hunt
03316cecd8 Bug 937053 - tap() method should calculate elementInView from the coordinates of the tap. r=mdas 2014-10-16 10:32:00 +02:00
Carsten "Tomcat" Book
dc2804a07a Backed out changeset 9e996cc695eb (bug 937053) for breaking marionette 2014-10-21 11:19:10 +02:00
Carsten "Tomcat" Book
3d7d4ca11c Backed out changeset 8c0cf60141dc (bug 1083237) 2014-10-21 11:18:43 +02:00
Julien Pagès
ede9c7af78 Bug 1083237 - Wrong test suite duration when using mozlog as test reporter. r=mdas 2014-10-19 11:20:00 +02:00
Dave Hunt
4f9015f021 Bug 937053 - tap() method should calculate elementInView from the coordinates of the tap. r=mdas 2014-10-16 10:32:00 +02:00
Malini Das
d5a7043678 Bug 1085558 - test_single_finger*.py tests should output the actual value if assertion fails, r=jgriffin 2014-10-20 20:28:11 -04:00
Jesal Mavadiya
f6c65ebf0e Bug 1083142 - Fix reference to undefined property in marionette-server.js. r=ato 2014-10-20 02:51:00 -04:00
Andrew Halberstadt
92b4c47ea6 Bug 1084587 - Add --profile to |mach marionette-test|, r=jgriffin, DONTBUILD, a=NPOTB
Note: This also refactors the entry points a bit to automatically pass through **kwargs instead of needing to explicitly list each parameter in about three different locations.
2014-10-20 08:55:28 -04:00
Andrew Halberstadt
75d63f3019 Bug 1083244 - Use sphinx.ext.autodoc's :members: directive in marionette docs instead of explicitly listing, r=AutomatedTester, DONTBUILD, a=NPOTB 2014-10-15 16:58:05 -04:00
Dave Hunt
f0fb5e0acb Bug 1081043 - Only check for crashes if we get a MarionetteException or an instance of IOError. r=mdas 2014-10-13 02:01:00 +02:00
Wes Kocher
4b2f291d8c Backed out changeset cb31d5a52868 (bug 1028407) under suspicion of web-platform bustage on a CLOSED TREE 2014-10-17 13:24:51 -07:00
Chris Manchester
c921b268c9 Bug 1028407 - Establish connection to server faster.;r=jgriffin
There was a 5 second sleep() in the Marionette client. The history of
its value is unclear, but bug comments seem to indicate that Gecko
wasn't completely initialized during the observer notification that
starts the server. We removed the sleep.
2014-07-03 17:03:10 -07:00
Zac Campbell
85e1d353f8 Bug 1075487 - make get_b2g_pid get the right pid, r=davehunt,mdas 2014-10-07 13:11:04 +01:00
Andreas Tolfsen
5c2a5dfc29 Bug 1081139 - Document Marionette's wait and expected modules. r=ahal 2014-10-10 09:11:00 -04:00
Malini Das
b39a1f5aed Bug 1065933 - Use custom error code when frames close unexpectedly. r=jgriffin 2014-10-13 04:09:00 +02:00
David Burns
0c61606e37 Bug 1073539: Add the ability to set capabilities into Marionette; r=jgriffin 2014-10-13 20:40:34 +01:00
Chris Manchester
159f5d88c2 Bug 1050511 - Modify import of marionette harness to avoid a mismatch in assertRaises when running through mach. r=gps 2014-10-10 12:58:10 -04:00
Dave Hunt
ea9ddfd237 Bug 1081025 - Fix test failure debug gathering. r=zcampbell 2014-10-10 01:51:00 -04:00
Wes Kocher
8adfeb52f3 Merge b2g-inbound to m-c a=merge CLOSED TREE 2014-10-09 16:37:20 -07:00
George Duan
5743211498 Bug 1079130 - Modify AppWindowManager to appWindowManager in Gecko. r=jgriffin 2014-10-08 00:57:00 +02:00
Malini Das
b0064b0959 Bug 1065933 - only handle mozbrowserclose events from current frame, r=jgriffin 2014-10-08 12:43:57 -04:00
Dave Hunt
c854feb204 Bug 1073021 - Add base image version to HTML report. r=mdas 2014-10-02 03:17:00 +02:00
Jonathan Griffin
966cb29e15 Bug 997909 - Fix typo. r=mdas 2014-10-07 09:40:05 -07:00
David Burns
cc37ea6fd9 Bug 1022862: remove WebApi tests from Marionette unit tests manifests: r=jgriffin 2014-10-06 21:57:25 +01:00
Dave Hunt
7691b48473 Bug 883294 - Add ability to take full viewport screenshots. r=mdas 2014-09-30 14:42:00 -04:00
Malini Das
dbc73d0613 Bug 1065933 - recover if containing frame is closed during touch, r=jgriffin 2014-10-03 09:54:10 -04:00
Ryan VanderMeulen
564ea347f1 Bug 1025040 - Disable test_single_finger_desktop.py on Windows for frequent failures. 2014-10-02 13:43:59 -04:00
Ryan VanderMeulen
990ae72de0 Merge m-c to inbound. a=merge 2014-10-02 13:14:06 -04:00
Jonathan Griffin
867add4965 Bug 997909 - Make waitFor actually terminate if condition is never true, r=mdas 2014-10-02 10:09:33 -07:00
Edgar Chen
f12df79281 Bug 1007062 - Fix SpecialPower API doesn't work on Marionette test-container. r=mdas,jmaher 2014-09-28 22:43:32 +08:00
Wes Kocher
326073f49a Backed out changeset bbf22ebcac51 (bug 1065933) for Gip orange 2014-09-29 17:39:16 -07:00
Malini Das
c4c43b62e9 Bug 1065933 - recover if containing frame is closed during touch, r=jgriffin 2014-09-29 18:22:44 -04:00
Ryan VanderMeulen
82ddf8b3fa Bug 1022862 - Revert test ordering changes because it apparently made Mnw perma-fail. 2014-09-29 14:56:57 -04:00
Malini Das
7e1e279864 Bug 1072650 - Fix giant wall of logcat output when connection times out, r=dburns 2014-09-25 12:27:29 -04:00
David Burns
c8ca163495 Bug 1070268: Add findChildElements endpoint to Marionette for WebDriver compatibility; r=jgriffin 2014-09-25 15:42:35 +01:00
Malini Das
6f5e37d31e Bug 1072503 - Remove unnecessary </dialog> tag from test_nested_iframe.xul. r=dburns 2014-09-24 12:13:00 -04:00
Ed Morley
70fa2e3454 Merge mozilla-central and b2g-inbound 2014-09-23 15:07:05 +01:00
Ryan VanderMeulen
3af1bde063 No bug - Clean up webapi test manifest. 2014-09-23 08:32:06 -04:00
David Burns
8daec4a609 Bug 1069572: Add maximise_window() to Marionette to allow maximising the browser window; r=jgriffin 2014-09-19 10:39:28 +01:00
Chris Lord
1ab04f59b1 Bug 1071029 - Fix 'contextmenu' events in Marionette. r=mdas
Marionette 'contextmenu' events were missing various properties that mouse
events should have.
2014-09-22 16:41:51 +01:00
David Burns
ed50bdbb57 Bug 947490: Move Marionette sendKeys code to it's own file and delete dead code; r=jgriffin 2014-09-19 00:52:40 +01:00
David Burns
83bfafb299 Bug 1064421: Clean up setWindowSize tests and add support for Fennec; r=jgriffin 2014-09-19 00:26:54 +01:00
David Burns
1d2244780c Bug 1022862: Create a manifest just for marionette web-api tests; r=jgriffin DONTBUILD 2014-09-16 00:39:25 +01:00
Shu-yu Guo
285e8aa396 Bug 1001090 - Part 4: Fix errors in chrome code. (r=zombie,gavin,fitzgen,dcamp,bgrins,fabrice,gwagner,margaret,mrbkap,mak,njn,vicamo) 2014-09-15 16:30:46 -07:00
David Burns
7a8fdb12d9 Bug 755475: Allow the getting and setting of the currently browser window position from Marionette; r=jgriffin 2014-09-15 10:48:56 +01:00
Malini Das
7ac694b33b Bug 1058158 - run b2g marionette tests in test container, r=jgriffin 2014-08-28 17:34:50 -04:00
Phil Ringnalda
d58b32595d Backed out changeset c72a49a66333 (bug 1058158) for Mn bustage
CLOSED TREE
2014-09-09 21:13:40 -07:00
Malini Das
9a5c2123e7 Bug 1058158 - run b2g marionette tests in test container, r=jgriffin 2014-08-28 17:34:50 -04:00
Rob Wood
c3ebf08833 Bug 1045103 - add Marionette support for setWindowSize; r=jgrffin 2014-09-08 06:05:49 -07:00
David Burns
c3b1b38b4d Bug 977893: getCurrentUrl in marionette should return the url for the top level document; r=jgriffin 2014-03-18 23:36:51 +00:00
Julien Pagès
894c25aabf Bug 1047101 - Provide a way to do data-driven tests with Marionette test runner. r=jgriffin 2014-08-30 09:55:00 -04:00
Dave Hunt
0a7b4cde20 Bug 1061514 - Bump marionette_client version to 0.8.4. r=zcampbell 2014-09-02 04:01:00 +02:00
Kyle Machulis
cc0ca9ee56 Bug 846200 - Fix permission granting in reporting.py module; r=davehunt
--HG--
extra : rebase_source : 4e7139439d9a55c5f7817908f93cced32a175ef9
2014-08-29 00:40:08 -07:00
Dave Hunt
2e85a5e487 Bug 1059248 - Accept a test name when checking for crashes in DeviceRunner. r=ahalberstadt 2014-08-27 09:49:00 -04:00
Bebe
e2a22232a4 Bug 1054948 - UnicodeDecodeError: 'ascii' codec can't decode byte 0xd8 in position 52852: ordinal not in range(128). r=mdas 2014-08-28 00:22:00 -04:00
Bebe
a6aa6cecf2 Bug 1036957 - Remove --type's default value from Marionette runner. r=mdas 2014-08-28 01:20:00 -04:00
Ryan VanderMeulen
1fb03239fc Merge m-c to b2g-inbound. a=merge
CLOSED TREE
2014-08-25 13:07:41 -04:00
Dimi Lee
b5480001c9 Bug 1051725 - Add a test case for wifi hotspot enable API. r=hchang 2014-08-22 18:14:11 +08:00
Chris Manchester
ccaee62d2d Bug 1055679 - Remove marionette's ad hoc log formatter now that it's no longer needed.;r=jgraham 2014-08-24 16:45:01 -04:00
Chris Manchester
234156fd37 Bug 1056977 - Bump version of marionette and dependencies on moztest and mozlog.;r=davehunt 2014-08-24 16:45:00 -04:00
Julien Pagès
6ad11c977d Bug 1040395 - Remove obsolete file that create virtualenv for marionette. r=jgriffin
--HG--
extra : rebase_source : 8491c3381f6b761b57f2430b5a87c0a1286a8a36
2014-08-20 06:09:00 -04:00
David Burns
ea9adfa2ea Bug 1055088: Update Marionette HtmlElement documentation for is_enabled; r=jgriffin 2014-08-19 00:07:56 +01:00
Julien Pagès
79304efc32 Bug 820154 - Implement todo() in marionette-simpletest. r=jgriffin 2014-08-13 07:19:00 -04:00