Commit Graph

676 Commits

Author SHA1 Message Date
Vicamo Yang
0114db1bf2 Bug 970804 - 3/3: add test cases. r=mdas 2014-02-18 14:04:50 +08:00
Vicamo Yang
7a0b374e73 Bug 970804 - 2/3: only launch test-container app when not available. r=mdas 2014-02-18 14:04:49 +08:00
Vicamo Yang
795ab447ae Bug 970804 - 1/3: refine Marionette oop test case selection. r=mdas
1) ./mach marionette-webapi <dir>/
 - selects all test cases under <dir> and execute them only in
   in-process mode.
2) ./mach marionette-webapi --type=+oop <dir>/
 - selects all test cases under <dir> and execute them only in oop
   mode.
3) ./mach marionette-webapi --type=-oop <dir>/
 - selects all test cases under <dir> and execute them only in
   in-process mode.
4) ./mach marionette-webapi <test>
 - execute <test> only in in-process mode.
5) ./mach marionette-webapi --type=+oop <test>
 - execute <test> only in oop mode.
6) ./mach marionette-webapi --type=-oop <test>
 - execute <test> only in in-process mode.
7) ./mach marionette-webapi <dir>/manifest.ini
 - selects all active test cases listed in <dir>/manifest.ini and
   execute them in the mode(s) according to the manifest.
8) ./mach marionette-webapi --type=+oop <dir>/manifest.ini
 - selects all active, oop={true,both} test cases listed in
   <dir>/manifest.ini and execute them only in oop mode.
9) ./mach marionette-webapi --type=-oop <dir>/manifest.ini
 - selects all active, oop={false,both} test cases listed in
   <dir>/manifest.ini and execute them only in in-process mode.
2014-02-18 14:04:48 +08:00
Masayuki Nakano
b3b19a9e2f Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug 2014-02-15 09:57:39 +09:00
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