StartTest(function (t) {
var Ext = t.getExt();
var cmp = Ext.create('Ext.window.Window',{
height: 100,
width: 100,
closable: true,
closeAction: 'hide'
});
t.waitForComponentVisible(cmp,function(){
t.clickCQ('tool[type="close"]',cmp,function(){
t.waitForComponentNotVisible(cmp,function(){
t.done();
});
});
});
cmp.show();
});
Ext 4.0.7 for Siesta and 4.1.0 for the tests