Title: [227677] trunk/Tools
- Revision
- 227677
- Author
- [email protected]
- Date
- 2018-01-26 08:48:04 -0800 (Fri, 26 Jan 2018)
Log Message
WebDriver: simplify the tests json report
https://bugs.webkit.org/show_bug.cgi?id=182171
Reviewed by Carlos Alberto Lopez Perez.
We are duplicating the test name in every subtest name. WPT already changed the format to remove the test name
form the subtest name. We should do the same for simplicity and compatibility with WPT.
* Scripts/webkitpy/webdriver_tests/webdriver_test_runner.py:
(WebDriverTestRunner.dump_results_to_json_file):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (227676 => 227677)
--- trunk/Tools/ChangeLog 2018-01-26 14:57:47 UTC (rev 227676)
+++ trunk/Tools/ChangeLog 2018-01-26 16:48:04 UTC (rev 227677)
@@ -1,3 +1,16 @@
+2018-01-26 Carlos Garcia Campos <[email protected]>
+
+ WebDriver: simplify the tests json report
+ https://bugs.webkit.org/show_bug.cgi?id=182171
+
+ Reviewed by Carlos Alberto Lopez Perez.
+
+ We are duplicating the test name in every subtest name. WPT already changed the format to remove the test name
+ form the subtest name. We should do the same for simplicity and compatibility with WPT.
+
+ * Scripts/webkitpy/webdriver_tests/webdriver_test_runner.py:
+ (WebDriverTestRunner.dump_results_to_json_file):
+
2018-01-25 Alex Christensen <[email protected]>
REGRESSION (r221899): Web Content process hangs when webpage tries to make a new window if the WKWebView doesn’t have a UI delegate
Modified: trunk/Tools/Scripts/webkitpy/webdriver_tests/webdriver_test_runner.py (227676 => 227677)
--- trunk/Tools/Scripts/webkitpy/webdriver_tests/webdriver_test_runner.py 2018-01-26 14:57:47 UTC (rev 227676)
+++ trunk/Tools/Scripts/webkitpy/webdriver_tests/webdriver_test_runner.py 2018-01-26 16:48:04 UTC (rev 227677)
@@ -146,7 +146,7 @@
results['subtests'] = []
for name, status, message, _ in result.subtest_results:
subtest = {}
- subtest['name'] = name
+ subtest['name'] = name.split('::', 1)[1]
subtest['status'] = status
subtest['message'] = message
results['subtests'].append(subtest)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes