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> |