Commit Graph

44 Commits

Author SHA1 Message Date
Andreas Tolfsen
aea63ad964 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
bd32d26c75 Bug 941148 - Rename screenShot to takeScreenshot for webdriver compliance. r=dburns 2014-01-24 08:45:58 -05:00
Andreas Tolfsen
cb2d92105b Bug 941145 - Rename goUrl to get for WebDriver compatibility. r=dburns 2014-01-24 08:39:23 -05:00
Andreas Tolfsen
251a6101a6 Bug 941144 - getWindows not matching Selenium command. r=dburns 2014-01-24 08:30:10 -05:00
Andreas Tolfsen
4ea2ee9d72 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
48273d5f99 Bug 941132 - getElementPosition not matching webdriver command. r=dburns 2014-01-22 14:04:04 -05:00
Andreas Tolfsen
d6c7f044ae Bug 941136 - getUrl not matching webdriver command getCurrentUrl. r=dburns 2014-01-21 13:31:31 -05:00
Ryan VanderMeulen
3e0a891bf2 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
c7bb59aa3c 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
e8f3ae77dd Bug 941132 - getElementPosition not matching webdriver command. r=dburns 2014-01-21 13:31:31 -05:00
Andreas Tolfsen
114b6e4af0 Bug 941136 - getUrl not matching webdriver command getCurrentUrl. r=dburns 2014-01-21 13:31:31 -05:00
Andreas Tolfsen
0be8b5f1e3 Bug 941140 - getWindow not matching webdriver command. r=dburns 2014-01-21 11:40:20 -05:00
Andreas Tolfsen
19ee853526 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
Andreas Tolfsen
029c247301 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
David Burns
62934c5473 Bug 951453: Updating capabilities of Marionette; r=mdas 2013-12-18 00:19:11 +00:00
Ryan VanderMeulen
24429d0191 Backed out changeset aad5b9304896 (bug 951453) for Gaia UI test perma-fail. 2013-12-18 14:20:09 -05:00
David Burns
dc8871cf72 Bug 951453: Updating capabilities of Marionette; r=mdas 2013-12-18 16:40:14 +00:00
Bill McCloskey
11b035620a Bug 682048 - Change B2G frame script handling to support anon/global scope (r=fabrice) 2013-11-23 21:32:39 -08:00
Andreas Tolfsen
85a0a4f200 Bug 804515 - Add screen orientation commands to Marionette
setScreenOrientation allows for a subset of the permitted orientation
change values that screen.mozLockOrientation can take.  Specifically
portrait, landscape, portrait-primary, landscape-primary,
portrait-secondary, landscape-secondary.

Due to W3C bug 23950 both error replies use the non-descriptive 500
status code.  I've filed bug 945734 about this.
---
 testing/marionette/client/marionette/marionette.py | 47 +++++++++--
 .../tests/unit/test_screen_orientation.py          | 90 ++++++++++++++++++++++
 .../client/marionette/tests/unit/unit-tests.ini    |  2 +
 testing/marionette/marionette-server.js            | 50 +++++++++++-
 4 files changed, 183 insertions(+), 6 deletions(-)
 create mode 100644 testing/marionette/client/marionette/tests/unit/test_screen_orientation.py
2013-12-17 11:01:29 -05:00
Ryan VanderMeulen
07bfe5e6da Backed out changesets e7aa50b69994, bc00eed50b7d, and 30a8127b9277 (bug 682048) for causing frequent B2G reftest timeouts.
CLOSED TREE
2013-12-03 22:44:28 -05:00
Bill McCloskey
8d6347378b Bug 682048 - Change B2G frame script handling to support anon/global scope (r=fabrice) 2013-11-23 21:32:39 -08:00
Malini Das
20e64d0b5c Bug 909129 - stop leaking imported scripts and don't import duplicates, r=jgriffin 2013-10-08 16:11:45 -04:00
Andrew Halberstadt
27e178e063 Bug 927568 - fix misplaced null check in marionette-server.js, r=mdas 2013-10-21 10:32:48 -04:00
Vicamo Yang
fc2cc5eb20 Bug 927432: fix 'finish() not called' in chrome js Marionette test cases. r=jgriffin 2013-10-17 10:26:27 +08:00
Wes Kocher
f27029d43a Merge m-c to fx-team 2013-10-15 20:32:13 -07:00
Blair McBride
908c3ef327 Bug 451283 - Move log4moz.js to Toolkit as Log.jsm. r=gps,Mossop
--HG--
rename : services/common/log4moz.js => toolkit/modules/Log.jsm
rename : services/common/tests/unit/test_log4moz.js => toolkit/modules/tests/xpcshell/test_Log.js
2013-08-26 11:55:58 -07:00
David Burns
8ebcecb0c8 Bug 759485: Add submit to HTMLElement on Marionette to submit forms without click() or send_keys(); r=mdas 2013-10-15 15:40:48 +01:00
David Burns
1cedec2e83 Bug 807282 - Update marionette command/response to match that of the WebDriver spec; r=mdas 2013-10-01 16:13:04 +01:00
Ed Morley
e9fa14ead7 Backed out changeset 8ecb68f17618 (bug 909129) for causing bug 924959 2013-10-09 17:13:22 +01:00
Malini Das
d53a62267f Bug 909129 - fix leaking imported scripts from marionette, r=dburns 2013-10-08 16:11:45 -04:00
Malini Das
e7dc3aa1e9 Bug 779284 - Implement B2G Modal dialog handling to Marionette, r=jgriffin,mdas 2013-09-19 13:35:19 -04:00
Mihnea Dobrescu-Balaur
8b76cb0e83 Bug 904232 - Add inactivity timeout for marionette tests. r=jgriffin 2013-08-28 10:06:03 -07:00
Jonathan Griffin
191efc8776 Bug 779284 - Back out 705d668fb81b for suspected perf regressions, a=test-only 2013-08-25 11:23:19 -07:00
Malini Das
723d7f0a5c Bug 779284 - Implement Modal dialog handling to Marionette, r=jgriffin 2013-08-16 16:54:41 -04:00
Jonathan Griffin
76bb4a4f89 Bug 898074 - Don't send multiple responses to deleteSession, r=dhylands 2013-08-01 18:20:22 -07:00
Jonathan Griffin
83f6c1c3cb Bug 898074 - Open Marionette's port with a backlog of 0, r=dhylands, on a CLOSED TREE for possible orange fix 2013-08-01 12:50:38 -07:00
Jonathan Griffin
5abf7416ee Bug 900080 - Use e.message instead of e in onPacket errors, r=wlach 2013-07-31 10:55:44 -07:00
William Lachance
12e458e48c Bug 855327 - Quick followup to improve variable name;r=jgriffin 2013-07-29 13:49:46 -04:00
William Lachance
0479d36569 Bug 855327 - Add capability to get currently active frame from marionette;r=jgriffin 2013-07-29 13:46:01 -04:00
Jonathan Griffin
6d04d32bf1 Bug 886579 - Better errors for JS tests, r=mdas 2013-07-01 15:47:37 -07:00
Jonathan Griffin
b8a3ff00b6 Bug 885940 - Move common code inato marionette-common.js, r=mdas
--HG--
rename : testing/marionette/marionette-log-obj.js => testing/marionette/marionette-common.js
2013-06-28 14:07:55 -07:00
Jonathan Griffin
5b221bb19d Bug 873591 - Make better errors for execute_script failures, r=mdas 2013-06-21 17:13:35 -07:00
Jonathan Griffin
01995dd019 Bug 883281 - Add ability to skip tests based on device, r=davehunt 2013-06-19 17:35:20 -07:00
William Lachance
0c750c1b5b Bug 797529 - Remove dependence on debugger server, r=jgriffin 2013-05-14 16:54:07 -04:00