Commit Graph

672 Commits

Author SHA1 Message Date
Thomas Zimmermann
bf8276253c Bug 935525: Added NFC test infrastructure to build scripts, r=vyang,jgriffin 2013-11-06 12:59:41 +01: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
Andrew Halberstadt
f27311905f Bug 949028 - Marionette runner should check for crash after each test, r=mdas 2014-02-10 14:08:39 -05:00
Malini Das
e9b2654700 Bug 959520 - Make socket.timeout error messages more useful, r=jgriffin 2014-02-10 10:10:45 -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
0096017c5d Bug 941158 - Honour expected failures in setUp or tearDown. r=jgriffin 2014-02-06 14:57:29 -05:00
Andreas Tolfsen
6d27822d35 Bug 940554 - Fix Marionette's newSession to return capabilities. r=mdas 2014-02-06 09:46:28 -05:00
Wes Kocher
a56c855b8e Backed out changeset a246bbc0c61c (bug 941158) for marionette bustage 2014-02-05 15:17:52 -08:00
Andreas Tolfsen
021a30a380 Bug 941158 - Honour expected failures in setUp or tearDown. r=zac 2014-02-05 17:04:42 -05:00
Andreas Tolfsen
03f5cc241e Bug 938228 - Fix marshaling of NodeList in executeScript. r=mdas 2014-02-05 17:04:42 -05:00
David Burns
d2fd82b4f6 Bug 874868: Make sure that Marionette takes a screenshot of the the entire content canvas; r=mdas 2014-02-05 21:38:12 +00:00
Andrew Halberstadt
beb064b22a Bug 949028 - Add check for crashes to geckoinstance.py, r=mdas 2014-02-04 08:53:18 -05:00
Fabrice Desré
da7e46af81 Bug 966502 - Use Cu.cloneInto() instead of ObjectWrapper.jsm r=baku 2014-02-01 11:06:59 -08:00
David Burns
0063737dca Bug 965986: Correct typo in exception in Marionette Wait; r=mdas 2014-01-30 22:38:25 +00:00
Malini Das
6e60cd0ae3 Bug 965782 - ignore certain delete_session exceptions in Marionette cleanup, r=wlach 2014-01-30 15:14:04 -05:00
Jonathan Griffin
98de3142f3 Bug 948895 - Increase wait-for-homescreen timeout, r=ahal 2014-01-30 10:00:08 -08:00
Wes Kocher
88f1a2e0d5 Backed out changeset e5dfc4abbb91 (bug 940554) for b2g test bustage across the board on a CLOSED TREE 2014-01-28 18:23:22 -08:00
Dave Hunt
0f7bfe5628 Bug 952530 - List all skipped/disabled tests rather than just the conditionally skipped tests. r=jgriffin 2014-01-28 15:28:56 -08:00
Andreas Tolfsen
456f67ec4a Bug 940554 - Fix Marionette's newSession to return capabilities. r=mdas 2014-01-28 17:54:44 -05:00
Dave Hunt
06e7c3aa24 Bug 963299 - Bump marionette_client version to 0.7.3. r=mdas 2014-01-28 13:02:43 +00:00
Phil Ringnalda
44a41bb21e Back out a37e6c57ae0f (bug 959520) for making marionette-webapi infinitely retry 2014-01-27 20:09:52 -08: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
b54635569b Bug 963598 - Allow custom message when Wait.until times out. r=dburns 2014-01-27 15:40:51 -05:00
Malini Das
500bfc3124 Bug 959520 - Make socket.timeout error messages more useful, r=jgriffin 2014-01-27 15:07:50 -05:00
Andreas Tolfsen
219b6a3b2f Bug 963166 - Add getWindowHandles end-point for WebDriver compatibility. r=dburns 2014-01-27 08:18:27 -05:00
Adarsh Dinesh
674912704c Bug 961648 - Provide a helpful error message when test variables JSON file cannot be parsed; r=dhunt 2014-01-27 10:53:47 +00: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
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