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

Side by Side Diff: Tools/GardeningServer/ui/test/ct-results-panel-tests.html

Issue 530613002: Fix partytime. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address review comments Created 6 years, 3 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-results-panel.html"> 7 <link rel="import" href="../ct-results-panel.html">
8 8
9 <link rel="import" href="../../model/ct-failure.html"> 9 <link rel="import" href="../../model/ct-failure.html">
10 10
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 177164, 177165 90 177164, 177165
91 ), 91 ),
92 ]; 92 ];
93 93
94 describe('ct-results-panel', function() { 94 describe('ct-results-panel', function() {
95 var panel; 95 var panel;
96 var failures; 96 var failures;
97 97
98 beforeEach(function(done) { 98 beforeEach(function(done) {
99 panel = document.createElement('ct-results-panel'); 99 panel = document.createElement('ct-results-panel');
100 // FIXME: The results-panel needs to be appended to the DOM so that the flak iness
101 // dashboard's iframe has a window when we grab location off of it, but that
102 // also means that we actually do fetches for the iframes of the foo_step st dio.
103 // This results in some console spam from the 404'ed request.
100 panel.hidden = true; 104 panel.hidden = true;
101 document.body.appendChild(panel); 105 document.body.appendChild(panel);
102 106
103 if (failures) 107 if (failures)
104 panel.failures = failures; 108 panel.failures = failures;
105 109
106 setTimeout(done); 110 setTimeout(done);
107 }); 111 });
108 112
109 afterEach(function() { 113 afterEach(function() {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 assert.lengthOf(results, 1); 177 assert.lengthOf(results, 1);
174 assert.equal(results[0].failure, failures[0]); 178 assert.equal(results[0].failure, failures[0]);
175 179
176 assert.lengthOf(panel.shadowRoot.querySelectorAll('ct-embedded-flakiness-d ashboard'), 0); 180 assert.lengthOf(panel.shadowRoot.querySelectorAll('ct-embedded-flakiness-d ashboard'), 0);
177 }); 181 });
178 }); 182 });
179 }); 183 });
180 184
181 })(); 185 })();
182 </script> 186 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698