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

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

Issue 349783003: Polymer-based Garden-O-Matic should have a basic results panel (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moar flex Created 6 years, 6 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
new file mode 100644
index 0000000000000000000000000000000000000000..c709b2e8c6e9fd2c150e7d2d4c1ced37297a6ce4
--- /dev/null
+++ b/Tools/GardeningServer/ui/ct-test-list-tests.html
@@ -0,0 +1,37 @@
+<!--
+Copyright 2014 The Chromium Authors. All rights reserved.
+Use of this source code is governed by a BSD-style license that can be
+found in the LICENSE file.
+-->
+
+<link rel="import" href="ct-test-list.html">
+
+<script>
+(function () {
+
+var kExampleTests = [
+ "plugins/gesture-events-scrolled.html",
+ "plugins/transformed-events.html",
+ "plugins/gesture-events.html",
+];
+
+module("ct-test-list");
+
+asyncTest("basic", 4, function() {
+ var list = document.createElement('ct-test-list');
+
+ list.tests = kExampleTests;
+
+ Platform.endOfMicrotask(function() {
+ var tests = list.shadowRoot.querySelectorAll('a');
+ equal(tests.length, 3);
+ equal(tests[0].href, 'http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=plugins%2Fgesture-events-scrolled.html');
+ equal(tests[1].href, 'http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=plugins%2Ftransformed-events.html');
+ equal(tests[2].href, 'http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=plugins%2Fgesture-events.html');
+
+ start();
+ });
+});
+
+})()
+</script>

Powered by Google App Engine
This is Rietveld 408576698