Commit Graph

70 Commits

Author SHA1 Message Date
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
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
Bobby Holley
7239458847 Bug 1038844 - Flip the scary automation pref for crashtests and marionette. r=jgriffin 2014-07-17 21:34:48 -07: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
Jonathan Griffin
c1df2f470d Bug 1018436 - Fix import script problem on Windows, r=mdas 2014-06-11 11:26:28 -07: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
Malini Das
7096eecaba Bug 932804 - compensate for statusbar in APZ touch, r=dburns 2014-06-09 12:37:11 -04: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
Alexandre Poirot
50217e363e Bug 1016033 - Fix marionette server race when waiting for toplevel window. r=jgriffin 2014-05-26 10:43:00 -04: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
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
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
Vicamo Yang
9a1921f04d Bug 985537: add runEmulatorShell to Marionette. r=mdas 2014-03-20 13:01:25 +08:00
Eddy Bruel
15989ab51b Bug 859372 - Refactor DevToolsUtils.js;r=past 2014-03-04 15:38:05 +01:00
David Burns
3485871e32 Bug 976831: Remove unused getStatus method from Marionette; r=mdas 2014-02-26 17:06:24 +00: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
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
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
6d27822d35 Bug 940554 - Fix Marionette's newSession to return capabilities. r=mdas 2014-02-06 09:46:28 -05: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
219b6a3b2f Bug 963166 - Add getWindowHandles end-point for WebDriver compatibility. r=dburns 2014-01-27 08:18:27 -05: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
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
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
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
David Burns
ff76fb9b95 Bug 951453: Updating capabilities of Marionette; r=mdas 2013-12-18 00:19:11 +00:00
Ryan VanderMeulen
10ea66eca4 Backed out changeset aad5b9304896 (bug 951453) for Gaia UI test perma-fail. 2013-12-18 14:20:09 -05:00
David Burns
37b615116e Bug 951453: Updating capabilities of Marionette; r=mdas 2013-12-18 16:40:14 +00:00
Bill McCloskey
3f0323f510 Bug 682048 - Change B2G frame script handling to support anon/global scope (r=fabrice) 2013-11-23 21:32:39 -08:00
Andreas Tolfsen
aa24133262 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
3558ffd353 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
82c005bc0e Bug 682048 - Change B2G frame script handling to support anon/global scope (r=fabrice) 2013-11-23 21:32:39 -08:00
Malini Das
c50d21f0cb Bug 909129 - stop leaking imported scripts and don't import duplicates, r=jgriffin 2013-10-08 16:11:45 -04:00
Andrew Halberstadt
35558e8e7d Bug 927568 - fix misplaced null check in marionette-server.js, r=mdas 2013-10-21 10:32:48 -04:00
Vicamo Yang
7eb51e00fa Bug 927432: fix 'finish() not called' in chrome js Marionette test cases. r=jgriffin 2013-10-17 10:26:27 +08:00