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

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

Issue 371133003: Add failed builders to sheriff-o-matic. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Tools/GardeningServer/ui/ct-builder-tests.html
diff --git a/Tools/GardeningServer/ui/ct-builder-tests.html b/Tools/GardeningServer/ui/ct-builder-tests.html
index e4de6786ce0f62fa2bdd66bf601ddaf71d097ab9..fbaa2c3e7c1738d2ef9317b5464660f2831caec4 100644
--- a/Tools/GardeningServer/ui/ct-builder-tests.html
+++ b/Tools/GardeningServer/ui/ct-builder-tests.html
@@ -26,5 +26,20 @@ asyncTest("basic", 2, function() {
});
});
+asyncTest("steps", 3, function() {
+ var builder = document.createElement('ct-builder');
+ builder.builderName = 'WebKit Linux (dbg)';
+ builder.steps = ['gclient_revert', 'compile', 'unittests'];
+
+ Platform.endOfMicrotask(function() {
+ var a = builder.shadowRoot.querySelector('a');
+ ok(a);
+ notEqual(a.href.indexOf('WebKit%20Linux%20(dbg)'), -1);
+ notEqual(a.innerText.indexOf('gclient_revert, compile, unittests'), -1);
+
+ start();
+ });
+});
+
})()
</script>

Powered by Google App Engine
This is Rietveld 408576698