Commit Graph

1316 Commits

Author SHA1 Message Date
Andreas Tolfsen
3a33ce4ecc Bug 1194968: Support for Marionette protocol adjustments in Python client
Whilst it is not a goal for the Marionette protocol to be fully compatible
with WebDriver due to the different transport mechanisms, bug 1153822
adjusts the Marionette protocol closer to what is prescribed in the
WebDriver specification.

This patch adds support for the new protocol (level or version 2)
to the Python bindings with backwards compatibility for the earlier,
existing protocol (1).

r=jgriffin
2015-08-15 15:46:31 +01:00
David Burns
034dbeb282 Bug 1195440: Disable health reporting when marionette tests are running; r=jgriffin 2015-08-17 21:36:57 +01:00
Nick Robson
07b38ad250 Bug 1075089 - Move popup menu frame offset to LookAndFeel and fix default offset for OS X. r=Enn 2015-08-04 16:41:00 -04:00
Ryan VanderMeulen
76594276ff Backed out changeset 9eeddf4d34ea (bug 1191432) for various Gij failures.
CLOSED TREE
2015-08-10 10:29:13 -04:00
Yura Zenevich
ccd257e4ea Bug 1191432 - improving coverage for marionette accessibility checks. r=automatedtester 2015-08-10 09:36:53 -04:00
Chris Manchester
879669a5ae Bug 1192331 - Disable search suggestions UI when running marionette tests and re-enable modal test. r=adw 2015-08-07 12:30:31 -07:00
Drew Willcoxon
0a1093f760 Bug 959567 - Change urlbar search suggestions from opt-out to opt-in, add opt-in prompt to urlbar popup. r=mak 2015-08-06 20:13:00 -07:00
Julien Pagès
3ad3c28fb7 Bug 1190817 - marionette install from pypi is broken. r=automatedtester 2015-08-04 05:49:00 +02:00
David Burns
35b3c99c75 Bug 1189027: Bump marionette driver to 0.11; r=ato 2015-07-29 20:48:07 +01:00
David Burns
d2297d7254 Bug 1188826: Bump marionette client version for release; r=ato 2015-07-29 12:31:56 +01:00
Julien Pagès
9664f5f204 Bug 1168803 - Add --addon option to specify add-ons to be installed. r=dburns 2015-07-18 10:53:10 +02:00
Julien Pagès
c84653d377 Bug 1129122 - Marionette should show an error if a test file doesn't start with the test_ prefix. r=dburns 2015-07-17 22:53:27 +02:00
Julien Pagès
41282fdcf8 Bug 1081970 - Gracefully handle interrupts when running test suite. r=dburns 2015-07-17 23:00:26 +02:00
Julien Pagès
e7d8870c65 Bug 1183157 - make marionette --version flag also show the transport and driver package versions. r=dburns 2015-07-17 21:06:12 +02:00
Julien Pagès
20b3d5d780 Bug 970886 - MarionetteTestRunner runs tests twice if the filename is the same. r=dburns 2015-07-17 20:58:42 +02:00
David Burns
3727735f52 Bug 1178468 - Update marionette cookie support to use nsICookie2. r=jgriffin
This allows us to return httpOnly key when doing getCookie and serialising the result

Details in http://w3c.github.io/webdriver/webdriver-spec.html#dfn-serialized-cookie
2015-07-15 23:51:51 +01:00
David Burns
eb6fa0cfea Bug 1178468: rename marionette cookie test methods to be more pythonic. r=jgriffin 2015-07-07 20:57:57 +01:00
Andrew Halberstadt
8cffe8fa6b Bug 1014760 - Move mozlog.structured to mozlog; Move mozlog to mozlog.unstructured, r=jgraham
Mozlog currently has two implementations. The top level package is based on the logging module and is
deprecated. The newer structured logging implementation lives in mozlog.structured. This patch swaps the
two, so the top level mozlog module contains the recommended implementation, while mozlog.unstructured
contains the old one.
2015-07-16 10:38:40 -04:00
Jonathan Griffin
87904a5f85 Bug 1182681 - Raise IOError when receiving empty string on socket, r=jgraham
* * *
Bug 1182681 - Raise IOError when we receive an emtry string, r=jgraham
2015-07-13 12:29:21 -07:00
David Burns
6826f183e8 Bug 1165449: Add the ability to set a proxy via capabilities on Marionette session start; r=jgriffin
By passing an object to capabilities like

  {
    "requiredCapabilities": {
        "proxy": {... }
    }
  }

Specification detail at http://w3c.github.io/webdriver/webdriver-spec.html#dfn-set-the-proxy
2015-07-14 00:51:58 +01:00
Julien Pagès
63a970e982 Bug 902125 - Add a version config/flag for Python Marionette. r=dburns 2015-07-13 18:33:23 +02:00
Ehsan Akhgari
2275c1e350 Backout bug 1182681 for web-platform-test failures on a CLOSED TREE 2015-07-13 21:43:54 -04:00
Jonathan Griffin
5a0abcf19d Bug 1182681 - Raise IOError when receiving empty string on socket, r=jgraham
* * *
Bug 1182681 - Raise IOError when we receive an emtry string, r=jgraham
2015-07-13 12:29:21 -07:00
Julien Pagès
78d3bce95f Bug 1081970 - Gracefully handle interrupts when running test suite. r=dburns 2015-07-12 09:32:00 -04:00
Julien Pagès
011b1a1ccc Bug 983821 - 'marionette' cli entrypoint doesn't have access to proper packages. r=dburns 2015-07-11 08:05:51 +02:00
Tim Taubert
0416f1d105 Bug 1175678 - Follow-up to fix test_chrome_element_css.py and let it check for the new not-secure icon file in the URL bar r=bustage 2015-07-09 15:12:29 +02:00
Jonathan Griffin
c09d5ad15d Bug 1161702 - Add --startup-timeout arg for Marionette; add in-tree config for luciddream, r=ahal 2015-07-07 12:26:54 -07:00
Henrik Skupin
9540a272f2 Bug 1178778 - Bump marionette-driver to 0.10. r=automatedtester DONTBUILD 2015-06-30 17:11:21 +02:00
Jonathan Griffin
0a6da8d772 Bug 1177513 - Bump marionette-client to 0.16, r=dburns 2015-06-26 09:42:36 -07:00
Carsten "Tomcat" Book
427dea87a1 merge mozilla-inbound to mozilla-central a=merge 2015-06-26 13:19:12 +02:00
Gregory Szorc
4f2fb895aa Bug 1176642 - Use absolute_import in mach_commands.py files; r=glandium
This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.

All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.
2015-06-21 17:39:09 -07:00
Gregory Szorc
88efe94ba4 Bug 1176642 - Remove unused imports; r=glandium 2015-06-25 12:16:38 -07:00
Chris Manchester
ed0c3618e5 Bug 1174766 - Modify test_profile_management to use a clean profile to avoid contention on windows.;r=ato 2015-06-24 10:16:27 -07:00
Chris Manchester
59c54a570f Bug 1174766 - Append to gecko logfile after marionette restarts the browser rather than removing the old file every time.;r=ato 2015-06-20 09:46:00 -07:00
Chris Manchester
2055e5a9b3 Bug 1169600 - Remove message listeners intended to coordinate registering a new browser with marionette once the browser has been registered. r=ato 2015-06-24 00:10:10 -07:00
David Burns
60d4c50ba0 Bug 1174941: Update conditional to switch statement to allow more processing of capabilities; r=ato 2015-06-19 15:45:46 +01:00
David Burns
d8005ae8a9 Bug 1174941: Remove all capabilities from desired capabilities if they are in the session capabilitiesand in requiredCapabilities; r=ato 2015-06-19 15:44:25 +01:00
David Burns
05a0191d37 Bug 1174941: Update server capabilities that are set on startup; r=ato 2015-06-19 15:42:04 +01:00
Jonathan Griffin
e91ee75173 Bug 1176408 - Bump marionette-transport to 0.5 and marionette-driver to 0.9, r=dburns 2015-06-21 13:40:54 -07:00
Chris Manchester
8d1eda380e Backed out changeset 101932a675a4 (bug 1174766) for winXP failures 2015-06-20 15:27:11 -07:00
Chris Manchester
e6bb7a8459 Bug 1174766 - Append to gecko logfile after marionette restarts the browser rather than removing the old file every time.;r=ato 2015-06-20 09:46:00 -07:00
Martijn Wargers
93fba61fa5 Bug 1176882 - Don't pin marionette-transport. r=davehunt 2015-06-24 02:09:16 +02:00
Jonathan Griffin
bcfa3ced6f Bug 1166033 - Notice when the process has died, and restart it, r=dburns 2015-06-18 14:26:53 -07:00
Jamin Liu
de789ce889 Bug 1175067 - Switch Bluetooth marionette test set to BT API v2 and disable unsupported tests. r=joliu 2015-06-17 18:00:26 +08:00
Chris Manchester
bfb01601c3 Bug 1169600 - Avoid misleading exception in message listeners in marionette server. r=ato 2015-06-03 10:21:27 -07:00
Jonathan Griffin
c37df40d69 Backed out changeset 58b09d4a5de5 for Mn OSX test_profile_management.py failures on a CLOSED TREE 2015-06-10 12:15:31 -07:00
Jonathan Griffin
70a555b33f Bug 1166033 - Notice when the process has died, and restart it, r=dburns 2015-06-10 10:24:29 -07:00
Chris Manchester
e5b31e1213 Bug 1169798 - Refresh the marionette server's window reference when switching between windows to avoid intermittent exception.;r=ato 2015-06-01 13:26:15 -07:00
Jonathan Griffin
061cdaf4cd Bug 1169751 - Bump marionette-driver to 0.8, marionette-client to 0.15, r=dburns 2015-05-29 15:43:50 -07:00
Henrik Skupin
4b995d9cae Bug 1169381 - Bump dependency for mozinfo in marionette-client to >=0.8. r=jgriffin 2015-05-28 12:05:00 -04:00