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

Side by Side Diff: Tools/GardeningServer/ui/ct-commit-tests.html

Issue 402603007: Get sheriff-o-matic data from auto-sheriff.appspot.com. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update and delete old code 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
1 <!-- 1 <!--
2 Copyright 2014 The Chromium Authors. All rights reserved. 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 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 6
7 <link rel="import" href="ct-commit.html"> 7 <link rel="import" href="ct-commit.html">
8 8
9 <link rel="import" href="model/ct-commit-mock.html"> 9 <link rel="import" href="../model/ct-commit-mock.html">
10 10
11 <script> 11 <script>
12 (function () { 12 (function () {
13 13
14 module("ct-commit"); 14 module("ct-commit");
15 15
16 asyncTest("basic", 2, function() { 16 asyncTest("basic", 3, function() {
17 var grouper = document.createElement('ct-commit'); 17 var grouper = document.createElement('ct-commit');
18 18
19 grouper.data = new CTCommitMock(); 19 grouper.data = new CTCommitMock();
20 20
21 Platform.endOfMicrotask(function() { 21 requestAnimationFrame(function() {
22 var html = grouper.shadowRoot.innerHTML; 22 var html = grouper.shadowRoot.innerHTML;
23 23
24 equal(html.indexOf('mkwst') != -1, true) 24 equal(html.indexOf('mkwst') != -1, true);
25 equal(html.indexOf('behavior for these types') != -1, true) 25 equal(html.indexOf('behavior for these types') != -1, true);
26 equal(grouper.shadowRoot.querySelector('a').href, grouper.data.url());
26 27
27 start(); 28 start();
28 }); 29 });
29 }); 30 });
30 31
31 })() 32 })()
32 </script> 33 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698