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

Unified Diff: Tools/GardeningServer/ui/test/ct-embedded-flakiness-dashboard-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 side-by-side diff with in-line comments
Download patch
Index: Tools/GardeningServer/ui/test/ct-embedded-flakiness-dashboard-tests.html
diff --git a/Tools/GardeningServer/ui/test/ct-embedded-flakiness-dashboard-tests.html b/Tools/GardeningServer/ui/test/ct-embedded-flakiness-dashboard-tests.html
deleted file mode 100644
index 3b4252d3e2ea06ecdd6394d3042ce5f947f15899..0000000000000000000000000000000000000000
--- a/Tools/GardeningServer/ui/test/ct-embedded-flakiness-dashboard-tests.html
+++ /dev/null
@@ -1,59 +0,0 @@
-<!--
-Copyright 2014 The Chromium Authors. All rights reserved.
-Use of this source code is governed by a BSD-style license that can be
-found in the LICENSE file.
--->
-
-<link rel="import" href="../ct-embedded-flakiness-dashboard.html">
-
-<script>
-(function () {
-
-var assert = chai.assert;
-
-describe('ct-embedded-flakiness-dashboard', function() {
-
- describe('iframe location', function() {
- var embeddedFlakinessDashboard;
-
- after(function() {
- document.body.removeChild(embeddedFlakinessDashboard);
- });
-
- it('should point the iframe to the dashboard', function(done) {
- var failure = new CTStepFailure('foo_tests', 'foo/bar.html');
- failure.embeddedFlakinessDashboardURL = function() {
- return 'placeholder.html?' + this.flakinessDashboardURL() + '&showChrome=false';
- }
-
- embeddedFlakinessDashboard = document.createElement('ct-embedded-flakiness-dashboard');
- embeddedFlakinessDashboard.hidden = true;
- embeddedFlakinessDashboard.test = failure;
- document.body.appendChild(embeddedFlakinessDashboard);
-
- var iframe = embeddedFlakinessDashboard.shadowRoot.querySelector('#iframe');
- iframe.addEventListener('load', function() {
- assert.include(iframe.contentWindow.location.href,
- failure.embeddedFlakinessDashboardURL());
- done();
- });
- });
- });
-
- it('should respond to heightChanged', function(done) {
- var embeddedFlakinessDashboard = document.createElement('ct-embedded-flakiness-dashboard');
-
- var finishTest = function() {
- window.removeEventListener('message', finishTest);
- var iframe = embeddedFlakinessDashboard.shadowRoot.querySelector('#iframe');
- assert.equal(iframe.style.height, '100px');
- done();
- };
-
- window.addEventListener('message', finishTest);
- window.postMessage({command: 'heightChanged', height: "100"}, '*');
- });
-});
-
-})()
-</script>
« no previous file with comments | « Tools/GardeningServer/ui/test/ct-commit-tests.html ('k') | Tools/GardeningServer/ui/test/ct-failure-card-button-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698