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

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

Issue 455263002: Sheriff-o-matic: Display snoozed failure groups in a separate stream (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix ct-failure-stream-tests Created 6 years, 4 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-failure-stream.html">
8
9 <script>
10 (function () {
11
12 module("ct-failure-stream");
13
14 asyncTest("basic", 3, function() {
15 var stream = document.createElement('ct-failure-stream');
16
17 // FIXME: We should use some more interesting test data, but
18 // ct-failure-stream will give these values to ct-commit-data,
19 // which will hit the network unless we figure out how to mock
20 // out ct-commit-data in a better way.
21 stream.groups = [[], []];
22
23 Platform.endOfMicrotask(function() {
24 var cards = stream.shadowRoot.querySelectorAll('ct-failure-card');
25 equal(cards.length, 2);
26 deepEqual(cards[0].failures, []);
27 deepEqual(cards[1].failures, []);
28
29 start();
30 });
31 });
32
33 })()
34 </script>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/ui/ct-failure-stream.html ('k') | Tools/GardeningServer/ui/ct-unexpected-failures.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698