Commit Graph

645 Commits

Author SHA1 Message Date
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
192cd998cb Bug 948075 - Add expected conditions to Marionette. r=mdas r=dhunt 2014-01-24 12:22:12 +00: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
Andreas Tolfsen
7571828c3f 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
c8f983269b Bug 961874 - Python client should delete marionette session in cleanup(). r=mdas 2014-01-22 10:44:26 -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
Ryan VanderMeulen
e216abf30b Merge b2g-inbound to m-c. 2014-01-17 15:04:32 -05:00
Carsten "Tomcat" Book
4d4fd60b5a Merge mozilla-central to b2g-inbound 2014-01-17 11:06:46 +01:00
Andrew Halberstadt
1e857aeb4a Bug 960375 - Marionette runner should pass mozinfo.info into manifestparser, r=mdas 2014-01-17 12:42:40 +08: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
Andreas Tolfsen
487bf41fb6 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
5284ea1427 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
972f9a3c01 Backed out changeset 10348da2438a (Bug 956655) 2014-01-17 13:08:59 +08:00
Edgar Chen
713b19196f 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
b05202b7e2 Merge inbound to m-c. 2014-01-16 15:06:12 -05:00
David Burns
63f9054026 Bug 927285: Fix for intermittent on test_submit.py; r=me 2014-01-16 15:57:18 +00:00
Jonathan Griffin
3ccfbd9601 Bug 959730 - Move cleanup logic out of __del__, r=dburns 2014-01-15 11:58:54 -08:00
Ed Morley
aa88ab2dc2 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
291e390c9f Bug 891882 - Activate touch events on b2g desktop. r=vingtetun, r=mdas 2014-01-15 09:28:04 -05:00
Malini Das
a426c588b6 Bug 956803 - Fix busted autogen docs, r=wlach 2014-01-15 15:18:23 +08:00
David Burns
ff76fb9b95 Bug 951453: Updating capabilities of Marionette; r=mdas 2013-12-18 00:19:11 +00:00
Andreas Tolfsen
a26664112d 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
4f0de9f668 Bug 957162 - Marionette Wait's should indicate timeout duration. r=davehunt 2014-01-08 16:06:05 -05:00
Dave Hunt
d317da5c6e Bug 950641 - Automatically use the appropriate GeckoInstance class. r=jgriffin 2013-12-20 13:12:40 +00:00
Rob Wood
1e8dc055f7 Bug 925688 - Marionette unit test intermittent failure, temporarily disable the test; r=mdas 2013-12-18 19:10:22 -05:00
Ryan VanderMeulen
10ea66eca4 Backed out changeset aad5b9304896 (bug 951453) for Gaia UI test perma-fail. 2013-12-18 14:20:09 -05:00
Dave Hunt
ee896e3b27 Bug 867600 - Change hardcoded sleeps into waits. r=mdas 2013-12-18 17:30:25 +00:00
Dave Hunt
fcdca3a1c0 Bug 947205 - fix missing test durations from the HTML report, r=mdas 2013-12-18 13:25:38 -05:00
David Burns
37b615116e Bug 951453: Updating capabilities of Marionette; r=mdas 2013-12-18 16:40:14 +00:00
Malini Das
0e0456092c Bug 950098 - Remove dependency on pylib, r=ahal 2013-12-18 11:20:16 -05:00
Ryan VanderMeulen
01e5988548 Merge m-c to inbound. 2013-12-17 16:20:31 -05:00
Ryan VanderMeulen
2184455416 Merge b2g-inbound to m-c. 2013-12-17 16:17:49 -05:00
Andreas Tolfsen
75bd548855 Bug 850881 - Implement explicit Marionette wait condition class. r=davehunt, r=mdas 2013-12-17 10:51:18 -05: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
Malini Das
8f43f2233d Bug 950729 - fix docstring error for flick, r=dburns 2013-12-17 10:57:45 -05:00
Vicamo Yang
bc036ae1ce Bug 949398: fix missing MarionetteTestOptions. r=jgriffin 2013-12-17 10:17:08 +08:00
David Burns
24fa8e2be1 Bug 942730 - allow Marionette to type into input type=number fields; r=mdas 2013-12-16 16:40:51 +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
Bill McCloskey
f833fb3bba Bug 682048 - Change Firefox frame script handling to support anon/global scope (r=felipe) 2013-11-23 21:32:27 -08:00
Malini Das
0b1592e707 Bug 951153 - fix unclear error message if manifest has a non-existent file, r=jgriffin 2013-12-17 14:51:59 -05:00