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

Unified Diff: Tools/GardeningServer/ui/ct-commit-tests.html

Issue 402603007: Get sheriff-o-matic data from auto-sheriff.appspot.com. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address review comments Created 6 years, 5 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
« no previous file with comments | « Tools/GardeningServer/ui/ct-commit.html ('k') | Tools/GardeningServer/ui/ct-failure-analyzer.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/ui/ct-commit-tests.html
diff --git a/Tools/GardeningServer/ui/ct-commit-tests.html b/Tools/GardeningServer/ui/ct-commit-tests.html
index 86074e7da69d33ffaf2e30a34c8d8c5163cca12f..e5075e22f6dd959351acd3da2d1df823bbb88b76 100644
--- a/Tools/GardeningServer/ui/ct-commit-tests.html
+++ b/Tools/GardeningServer/ui/ct-commit-tests.html
@@ -6,23 +6,24 @@ found in the LICENSE file.
<link rel="import" href="ct-commit.html">
-<link rel="import" href="model/ct-commit-mock.html">
+<link rel="import" href="../model/ct-commit-mock.html">
<script>
(function () {
module("ct-commit");
-asyncTest("basic", 2, function() {
+asyncTest("basic", 3, function() {
var grouper = document.createElement('ct-commit');
grouper.data = new CTCommitMock();
- Platform.endOfMicrotask(function() {
+ requestAnimationFrame(function() {
var html = grouper.shadowRoot.innerHTML;
- equal(html.indexOf('mkwst') != -1, true)
- equal(html.indexOf('behavior for these types') != -1, true)
+ equal(html.indexOf('mkwst') != -1, true);
+ equal(html.indexOf('behavior for these types') != -1, true);
+ equal(grouper.shadowRoot.querySelector('a').href, grouper.data.url);
start();
});
« no previous file with comments | « Tools/GardeningServer/ui/ct-commit.html ('k') | Tools/GardeningServer/ui/ct-failure-analyzer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698