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() { |
ojan
2014/07/10 17:58:50
Should we use async here has well then? Seems like
michaelpg
2014/07/14 18:40:21
Done.
|
+ 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> |