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

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

Issue 400353006: Fix a bunch of UI nits in sheriff-o-matic. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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-tree-status.html"> 7 <link rel="import" href="ct-tree-status.html">
8 8
9 <script> 9 <script>
10 (function () { 10 (function () {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 "Tree is throttled just for fun by username@test.org"); 61 "Tree is throttled just for fun by username@test.org");
62 equal(throttledtree.status, "throttled"); 62 equal(throttledtree.status, "throttled");
63 }), 63 }),
64 closedtree.update().then(function() { 64 closedtree.update().then(function() {
65 equal(closedtree.message, 65 equal(closedtree.message,
66 "Tree is closed for maintenance by username@test.org"); 66 "Tree is closed for maintenance by username@test.org");
67 equal(closedtree.status, "closed"); 67 equal(closedtree.status, "closed");
68 }) 68 })
69 ]).then(function() { 69 ]).then(function() {
70 requestAnimationFrame(function() { 70 requestAnimationFrame(function() {
71 ok(!opentree.shadowRoot.textContent.trim()); 71 ok(!opentree.shadowRoot.textContent.has("open-tree-project"));
72 ok(throttledtree.shadowRoot.textContent.has("throttled-tree-project")); 72 ok(throttledtree.shadowRoot.textContent.has("throttled-tree-project"));
73 ok(closedtree.shadowRoot.textContent.has("closed-tree-project")); 73 ok(closedtree.shadowRoot.textContent.has("closed-tree-project"));
74 start(); 74 start();
75 treestatus.urlByName = urlByName; 75 treestatus.urlByName = urlByName;
76 }); 76 });
77 }); 77 });
78 }); 78 });
79 }); 79 });
80 80
81 })(); 81 })();
82 </script> 82 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698