Bug 1443446 - Enable geckodriver/Marionette trace output for wdspec test jobs in automation. draft
authorHenrik Skupin <mail@hskupin.info>
Tue, 06 Mar 2018 11:41:59 +0100
changeset 763643 8a134176e06e515e393247e5df240609ebe4a794
parent 762868 71edaf2bd1b01daffb805627623712bd329fb5f9
push id101501
push userbmo:hskupin@gmail.com
push dateTue, 06 Mar 2018 10:42:32 +0000
bugs1443446
milestone60.0a1
Bug 1443446 - Enable geckodriver/Marionette trace output for wdspec test jobs in automation. MozReview-Commit-ID: 14l4teCjrbY
testing/mozharness/scripts/web_platform_tests.py
--- a/testing/mozharness/scripts/web_platform_tests.py
+++ b/testing/mozharness/scripts/web_platform_tests.py
@@ -237,16 +237,17 @@ class WebPlatformTest(TestingMixin, Merc
                     cmd.append("--%s=%s" % (opt.replace("_", "-"), val))
 
         if "wdspec" in test_types:
             geckodriver_path = self._query_geckodriver()
             if not geckodriver_path or not os.path.isfile(geckodriver_path):
                 self.fatal("Unable to find geckodriver binary "
                            "in common test package: %s" % str(geckodriver_path))
             cmd.append("--webdriver-binary=%s" % geckodriver_path)
+            cmd.append("--webdriver-arg=-vv")  # enable trace logs
 
         options = list(c.get("options", []))
 
         str_format_values = {
             'binary_path': self.binary_path,
             'test_path': dirs["abs_wpttest_dir"],
             'test_install_path': dirs["abs_test_install_dir"],
             'abs_app_dir': abs_app_dir,