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

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: async instead of endMicrotask 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-builder.html ('k') | Tools/GardeningServer/ui/ct-failing-builders.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..02caf4ef58932c3b66021677ba8b379ba72b3274 100644
--- a/Tools/GardeningServer/ui/ct-builder-tests.html
+++ b/Tools/GardeningServer/ui/ct-builder-tests.html
@@ -15,7 +15,7 @@ asyncTest("basic", 2, function() {
var builder = document.createElement('ct-builder');
builder.builderName = 'WebKit Linux (dbg)';
- Platform.endOfMicrotask(function() {
+ builder.async(function() {
var html = builder.shadowRoot.innerHTML;
var a = builder.shadowRoot.querySelector('a');
@@ -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'];
+
+ builder.async(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>
« no previous file with comments | « Tools/GardeningServer/ui/ct-builder.html ('k') | Tools/GardeningServer/ui/ct-failing-builders.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698