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

Unified Diff: Tools/GardeningServer/ui/ct-embedded-flakiness-dashboard-tests.html

Issue 464163002: Sheriff-o-Matic: Convert some more ui tests to mocha (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: Tools/GardeningServer/ui/ct-embedded-flakiness-dashboard-tests.html
diff --git a/Tools/GardeningServer/ui/ct-embedded-flakiness-dashboard-tests.html b/Tools/GardeningServer/ui/ct-embedded-flakiness-dashboard-tests.html
deleted file mode 100644
index 01fc1e427a82d94754e3fb38e72c322b6e906aba..0000000000000000000000000000000000000000
--- a/Tools/GardeningServer/ui/ct-embedded-flakiness-dashboard-tests.html
+++ /dev/null
@@ -1,46 +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() {
-
-module("ct-embedded-flakiness-dashboard");
-
-asyncTest("url", 1, function() {
- var failure = new CTFailure('foo_tests', 'foo/bar.html');
- var tree = "blink";
- var embeddedFlakinessDashboard = document.createElement('ct-embedded-flakiness-dashboard');
-
- embeddedFlakinessDashboard.test = failure;
- embeddedFlakinessDashboard.tree = tree;
-
- requestAnimationFrame(function() {
- var iframe = embeddedFlakinessDashboard.shadowRoot.querySelector('#iframe');
- equal(iframe.src, failure.embeddedFlakinessDashboardURL(tree));
- start();
- });
-});
-
-asyncTest("heightChanged", 1, function() {
- var embeddedFlakinessDashboard = document.createElement('ct-embedded-flakiness-dashboard');
-
- function finishTest() {
- window.removeEventListener('message', finishTest);
- var iframe = embeddedFlakinessDashboard.shadowRoot.querySelector('#iframe');
- equal(iframe.style.height, "100px");
- start();
- }
- window.addEventListener('message', finishTest);
-
- requestAnimationFrame(function() {
- window.postMessage({command: 'heightChanged', height: "100"}, '*');
- });
-});
-
-})()
-</script>

Powered by Google App Engine
This is Rietveld 408576698