Commit Graph

642 Commits

Author SHA1 Message Date
Andreas Tolfsen
251a6101a6 Bug 941144 - getWindows not matching Selenium command. r=dburns 2014-01-24 08:30:10 -05:00
Andreas Tolfsen
ad320f23dc Bug 948075 - Add expected conditions to Marionette. r=mdas r=dhunt 2014-01-24 12:22:12 +00: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
Andreas Tolfsen
6dc3499b70 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
201fd0c6d1 Bug 961874 - Python client should delete marionette session in cleanup(). r=mdas 2014-01-22 10:44:26 -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
Ryan VanderMeulen
cd99eeca2d Merge b2g-inbound to m-c. 2014-01-17 15:04:32 -05:00
Carsten "Tomcat" Book
c62db68359 Merge mozilla-central to b2g-inbound 2014-01-17 11:06:46 +01:00
Andrew Halberstadt
0db1d1fdae Bug 960375 - Marionette runner should pass mozinfo.info into manifestparser, r=mdas 2014-01-17 12:42:40 +08: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
Andreas Tolfsen
07b16941b7 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
7576dae8e6 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
b2f55a1082 Backed out changeset 10348da2438a (Bug 956655) 2014-01-17 13:08:59 +08:00
Edgar Chen
876a576ec4 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
208917083a Merge inbound to m-c. 2014-01-16 15:06:12 -05:00
David Burns
ec5745b100 Bug 927285: Fix for intermittent on test_submit.py; r=me 2014-01-16 15:57:18 +00:00
Jonathan Griffin
e195c17a97 Bug 959730 - Move cleanup logic out of __del__, r=dburns 2014-01-15 11:58:54 -08:00
Ed Morley
99155ba26d 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
6a13f8e9f2 Bug 891882 - Activate touch events on b2g desktop. r=vingtetun, r=mdas 2014-01-15 09:28:04 -05:00
Malini Das
6d257fd81a Bug 956803 - Fix busted autogen docs, r=wlach 2014-01-15 15:18:23 +08:00
David Burns
62934c5473 Bug 951453: Updating capabilities of Marionette; r=mdas 2013-12-18 00:19:11 +00:00
Andreas Tolfsen
afa2f2c689 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
45004bf13c Bug 957162 - Marionette Wait's should indicate timeout duration. r=davehunt 2014-01-08 16:06:05 -05:00
Dave Hunt
87568c071a Bug 950641 - Automatically use the appropriate GeckoInstance class. r=jgriffin 2013-12-20 13:12:40 +00:00
Rob Wood
9bc2c79490 Bug 925688 - Marionette unit test intermittent failure, temporarily disable the test; r=mdas 2013-12-18 19:10:22 -05:00
Ryan VanderMeulen
24429d0191 Backed out changeset aad5b9304896 (bug 951453) for Gaia UI test perma-fail. 2013-12-18 14:20:09 -05:00
Dave Hunt
62b67e9a4f Bug 867600 - Change hardcoded sleeps into waits. r=mdas 2013-12-18 17:30:25 +00:00
Dave Hunt
69182207f4 Bug 947205 - fix missing test durations from the HTML report, r=mdas 2013-12-18 13:25:38 -05:00
David Burns
dc8871cf72 Bug 951453: Updating capabilities of Marionette; r=mdas 2013-12-18 16:40:14 +00:00
Malini Das
fed45c1eb9 Bug 950098 - Remove dependency on pylib, r=ahal 2013-12-18 11:20:16 -05:00
Ryan VanderMeulen
81208466f0 Merge m-c to inbound. 2013-12-17 16:20:31 -05:00
Ryan VanderMeulen
947a3e877b Merge b2g-inbound to m-c. 2013-12-17 16:17:49 -05:00
Andreas Tolfsen
c2e7ce1c9e Bug 850881 - Implement explicit Marionette wait condition class. r=davehunt, r=mdas 2013-12-17 10:51:18 -05: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
Malini Das
6908cf12ad Bug 950729 - fix docstring error for flick, r=dburns 2013-12-17 10:57:45 -05:00
Vicamo Yang
332104a653 Bug 949398: fix missing MarionetteTestOptions. r=jgriffin 2013-12-17 10:17:08 +08:00
David Burns
4ac6f8e94a Bug 942730 - allow Marionette to type into input type=number fields; r=mdas 2013-12-16 16:40:51 +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
Bill McCloskey
03d3b6d23d Bug 682048 - Change Firefox frame script handling to support anon/global scope (r=felipe) 2013-11-23 21:32:27 -08:00
Malini Das
e99b9f34e5 Bug 951153 - fix unclear error message if manifest has a non-existent file, r=jgriffin 2013-12-17 14:51:59 -05:00
Gregory Szorc
461b5aef7e Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.

--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Vicamo Yang
310306a5fe Bug 939441: B2G Bluetooth: add test cases for navigator.BluetoothManager.enabled. r=echou, f=jgriffin 2013-12-13 15:31:16 +08:00
Dave Hunt
5e3cb45943 Bug 949406 - Bump marionette_client version to 0.7.1, r=mdas 2013-12-12 10:30:17 -05:00