Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Unified Diff: Tools/GardeningServer/ui/ct-test-list-tests.html

Issue 458473003: Group similar failures (same directory, same fixture) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Tools/GardeningServer/ui/ct-test-list-tests.html
diff --git a/Tools/GardeningServer/ui/ct-test-list-tests.html b/Tools/GardeningServer/ui/ct-test-list-tests.html
index 95ae6e5f1a83c3c5b14a937577645b28a97491bb..a118a0c6922c2c6afdfc648541227ba13b3c81e1 100644
--- a/Tools/GardeningServer/ui/ct-test-list-tests.html
+++ b/Tools/GardeningServer/ui/ct-test-list-tests.html
@@ -45,6 +45,21 @@ var kExampleTests = [
},
];
+var kExampleTestsChromium = [
+{
+ "testName": "SomeTest.SubTest1",
+ "step": "browser_tests",
+ "oldestFailingRevision": 177164,
+ "newestPassingRevision": 177165,
+},
+{
+ "testName": "SomeTest.SubTest2",
+ "step": "browser_tests",
+ "oldestFailingRevision": 177164,
+ "newestPassingRevision": 177165,
+},
+];
+
module("ct-test-list");
asyncTest("basic", 4, function() {
@@ -64,5 +79,21 @@ asyncTest("basic", 4, function() {
});
});
+asyncTest("grouping", 2, function() {
ojan 2014/08/11 02:18:55 Please also have a test of layout tests.
jochen (gone - plz use gerrit) 2014/08/11 12:59:36 done
+ var list = document.createElement('ct-test-list');
+
+ list.tests = kExampleTestsChromium;
+ list.tree = 'chromium';
+
+ Platform.endOfMicrotask(function() {
+ var tests = list.shadowRoot.querySelectorAll('a');
+ equal(tests.length, 0);
+ var icons = list.shadowRoot.querySelectorAll('paper-icon-button');
+ equal(icons.length, 1);
+
+ start();
+ });
+});
+
})()
</script>
« Tools/GardeningServer/ui/ct-test-list.html ('K') | « Tools/GardeningServer/ui/ct-test-list.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698