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

Side by Side Diff: Tools/GardeningServer/ui/test/ct-master-failure-card-tests.html

Issue 728023004: Remove GardeningServer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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-master-failure-card.html">
8
9 <link rel="import" href="../../model/ct-failure-group.html">
10
11 <script>
12 (function () {
13
14 var assert = chai.assert;
15
16 describe('ct-master-failure-card', function() {
17 var group;
18 var card;
19 var failure;
20 var masterUrl = 'https://build.chromium.org/p/chromium.webkit';
21
22 beforeEach(function(done) {
23 card = document.createElement('ct-master-failure-card');
24 group = new CTFailureGroup('blink', new CTMasterFailureGroupData(
25 new CTMasterFailure('blink', masterUrl,
26 7200)));
27 card.group = group.data;
28 setTimeout(done);
29 });
30
31 describe('failure card UI', function() {
32
33 it('should display master with link.', function(done) {
34 var linkText = card.shadowRoot.querySelectorAll('a')[0].textContent;
35
36 assert.equal(linkText, masterUrl);
37 done();
38 });
39
40 });
41
42 });
43
44 })()
45 </script>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/ui/test/ct-last-updated-tests.html ('k') | Tools/GardeningServer/ui/test/ct-party-time-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698