Commit Graph

704 Commits

Author SHA1 Message Date
Andrew Halberstadt
ca934641fa Bug 985403 - Refactor MarionetteBaseRunner.start_marionette and pass in symbols_path by default, r=mdas 2014-03-20 11:41:11 -04:00
Dave Hunt
bfb6cdcfe0 Bug 979512 - Add a command line option to split the tests and run a specified chunk. r=jgriffin 2014-03-20 09:27:29 -04:00
Vicamo Yang
9a1921f04d Bug 985537: add runEmulatorShell to Marionette. r=mdas 2014-03-20 13:01:25 +08:00
Andreas Tolfsen
acb5b5b233 Bug 979299 - Reduce fragility in real time test. r=dburns
Sometimes the clock.sleep(0.1) may take shorter than 0.1 seconds.  This
isn't a test about precision in Python, but rather that the SystemClock
wrapper works as intended and returns a somewhat expected value.
2014-03-17 17:40:16 -04:00
William Lachance
40b7f3a0f3 Bug 978333 - Try to use localhost for marionette webserver if possible. r=jgriffin 2014-03-17 15:28:23 -04:00
Vikas Mishra
7b95cc5017 Bug 959517 - Clarify connection error message, r=mdas 2014-03-17 22:19:35 +05:30
Vikas Mishra
46cd4c8a90 Bug 974891 - Move TestCapabilities to test_capabilities.py file. r=ato 2014-03-14 23:57:03 +05:30
Jonathan Griffin
58a8088aa9 Bug 982361 - Bump marionette_client to 0.7.6, r=AutomatedTester 2014-03-11 18:16:54 -07:00
David Burns
81c06fffa8 Bug 981568: Handle if we get IOError if B2G crashes during a test run; r=jgriffin 2014-03-11 17:10:16 +00:00
James Graham
23649d548d Bug 979338 - Document delete_session method in the python client API, r=mdas 2014-03-04 17:42:11 +00:00
Dave Hunt
ed64d41323 Bug 979577 - Test durations are always zero in the HTML report. r=jgriffin 2014-03-06 14:49:50 +00:00
Vicamo Yang
447b2c7196 Bug 975359: add test cases for B2G orientation sensor. r=jgriffin, f=slee 2014-03-05 10:37:50 +08:00
Eddy Bruel
15989ab51b Bug 859372 - Refactor DevToolsUtils.js;r=past 2014-03-04 15:38:05 +01:00
Andreas Tolfsen
b72fe61222 Bug 970680 - Limit number of decimals used in TimeoutException. r=dburns 2014-02-28 16:41:03 -05:00
Andrew Halberstadt
225ecc8505 Bug 976120 - shell.js should respect crash reporting environment, r=fabrice 2014-02-27 16:36:00 -05:00
David Burns
3485871e32 Bug 976831: Remove unused getStatus method from Marionette; r=mdas 2014-02-26 17:06:24 +00:00
Malini Das
fa4d3d1072 Bug 975169 - Marionette test runner should not override textrunnerclass, version bump, r=jgriffiin,dburns 2014-02-25 16:08:37 -08:00
Ryan VanderMeulen
2abee72911 Backed out changeset 2b3bda5a4744 (bug 975169) for Marionette-webapi failures. 2014-02-24 15:04:53 -05:00
Malini Das
243f81f7c1 Bug 975169 - Marionette test runner should not override textrunnerclass, version bump, r=jgriffiin,dburns 2014-02-24 12:11:08 -05:00
Andreas Tolfsen
dd71988372 Bug 964366 - Session capabilities missing browserVersion. r=mdas 2014-02-20 15:36:56 -05:00
Andreas Tolfsen
0dfad40f0e Bug 962182 - Add "screenshot" command alias to Marionette. r=mdas 2014-02-20 15:36:35 -05:00
Andrew Halberstadt
91fe25a46d Bug 972518 - Log qemu output to prevent stdout pipe from filling up, r=jgriffin 2014-02-20 09:28:22 -05:00
Andreas Tolfsen
dc7f43c60c Bug 969387 - Guard against wrong arguments to MarionetteException. r=mdas 2014-02-20 08:43:55 -05:00
Malini Das
ed66dbd708 Bug 974165 - bump marionette-client version to 0.7.4 and release to pypi 2014-02-19 16:28:12 -05:00
Conrad Irwin
e115efe2f3 Bug 762556 - Error stack should contain column number. r=jorendorff 2014-02-19 11:30:08 -05:00
Nicolas B. Pierron
ba2022ad67 Bug 970996 - Initialize the deviceManager's device-serial based on Marionette CLI. r=mdas 2014-02-19 07:55:50 -08:00
Wes Kocher
782cf1ef3a Backed out changeset 018ee8ea0c12 (bug 972518) for breaking Mnw jobs on a CLOSED TREE 2014-02-18 16:47:51 -08:00
Andrew Halberstadt
529b829a83 Bug 972518 - Log qemu output to prevent stdout buffer from filling, r=jgriffin 2014-02-18 16:20:44 -05:00
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