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

Side by Side 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: Fix closing tag Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!--
2 Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
5 -->
6
7 <link rel="import" href="ct-test-list.html">
8
9 <script>
10 (function () {
11
12 var kExampleTests = [
13 "plugins/gesture-events-scrolled.html",
14 "plugins/transformed-events.html",
15 "plugins/gesture-events.html",
16 ];
17
18 module("ct-test-list");
19
20 asyncTest("basic", 4, function() {
21 var list = document.createElement('ct-test-list');
22
23 list.tests = kExampleTests;
24
25 Platform.endOfMicrotask(function() {
26 var tests = list.shadowRoot.querySelectorAll('a');
27 equal(tests.length, 3);
28 equal(tests[0].href, 'http://test-results.appspot.com/dashboards/flakiness_d ashboard.html#tests=plugins%2Fgesture-events-scrolled.html');
29 equal(tests[1].href, 'http://test-results.appspot.com/dashboards/flakiness_d ashboard.html#tests=plugins%2Ftransformed-events.html');
30 equal(tests[2].href, 'http://test-results.appspot.com/dashboards/flakiness_d ashboard.html#tests=plugins%2Fgesture-events.html');
31
32 start();
33 });
34 });
35
36 })()
37 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698