| 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>
|
|
|