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

Side by Side Diff: Tools/GardeningServer/ui/test/ct-unexpected-failures-tests.html

Issue 603293002: Showing only chromium status on chromium page, and both on blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removing failures from tests" Created 6 years, 2 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
« no previous file with comments | « Tools/GardeningServer/ui/ct-unexpected-failures.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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-unexpected-failures.html'> 7 <link rel='import' href='../ct-unexpected-failures.html'>
8 8
9 <link rel="import" href="../../model/ct-commit-list.html"> 9 <link rel="import" href="../../model/ct-commit-list.html">
10 <link rel="import" href="../../model/ct-failures.html"> 10 <link rel="import" href="../../model/ct-failures.html">
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 mocktree: [new CTStepFailure('step', 'reason', [])] 58 mocktree: [new CTStepFailure('step', 'reason', [])]
59 }; 59 };
60 hasFailures.tree = 'mocktree'; 60 hasFailures.tree = 'mocktree';
61 61
62 setTimeout(function() { 62 setTimeout(function() {
63 assert.notOk(hasFailures.shadowRoot.querySelector('ct-party-time')); 63 assert.notOk(hasFailures.shadowRoot.querySelector('ct-party-time'));
64 64
65 done(); 65 done();
66 }); 66 });
67 }); 67 });
68
69 it('test showing only chromium tree status when chromium', function(done) {
70 var noFailures = document.createElement('ct-unexpected-failures');
71 noFailures.tree = 'chromium';
72
73 setTimeout(function() {
74 assert.equal(noFailures.shadowRoot.querySelectorAll('ct-tree-status').leng th, 1);
75
76 done();
77 });
78 });
79
80 it('test showing both chromium and blink tree status when blink', function(don e) {
81 var noFailures = document.createElement('ct-unexpected-failures');
82 noFailures.tree = 'blink';
83
84 setTimeout(function() {
85 assert.equal(noFailures.shadowRoot.querySelectorAll('ct-tree-status').leng th, 2);
86
87 done();
88 });
89 });
90
68 }); 91 });
69 92
70 })(); 93 })();
71 </script> 94 </script>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/ui/ct-unexpected-failures.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698