| Index: Tools/GardeningServer/ui/test/ct-unexpected-failures-tests.html
|
| diff --git a/Tools/GardeningServer/ui/test/ct-unexpected-failures-tests.html b/Tools/GardeningServer/ui/test/ct-unexpected-failures-tests.html
|
| index b35a8318157d9bd6291aac4126ed69b53031af01..7cbab63ace0afd6986e3da1416959320107e3769 100644
|
| --- a/Tools/GardeningServer/ui/test/ct-unexpected-failures-tests.html
|
| +++ b/Tools/GardeningServer/ui/test/ct-unexpected-failures-tests.html
|
| @@ -65,6 +65,29 @@ describe('ct-unexpected-failures', function() {
|
| done();
|
| });
|
| });
|
| +
|
| + it('test showing only chromium tree status when chromium', function(done) {
|
| + var noFailures = document.createElement('ct-unexpected-failures');
|
| + noFailures.tree = 'chromium';
|
| +
|
| + setTimeout(function() {
|
| + assert.equal(noFailures.shadowRoot.querySelectorAll('ct-tree-status').length, 1);
|
| +
|
| + done();
|
| + });
|
| + });
|
| +
|
| + it('test showing both chromium and blink tree status when blink', function(done) {
|
| + var noFailures = document.createElement('ct-unexpected-failures');
|
| + noFailures.tree = 'blink';
|
| +
|
| + setTimeout(function() {
|
| + assert.equal(noFailures.shadowRoot.querySelectorAll('ct-tree-status').length, 2);
|
| +
|
| + done();
|
| + });
|
| + });
|
| +
|
| });
|
|
|
| })();
|
|
|