I"(function() { Ext.apply(window, (function() { var throwIfNotFound; throwIfNotFound = function(cmp) { if (Ext.isString(cmp)) { throw new Error(cmp + " not found"); } }; return { expectToSee: function(cmp) { throwIfNotFound(cmp); return expect(Ext.isObject(cmp) || Ext.isElement(cmp)).to.be.ok(); }, expectToNotSee: function(el) { return expect(Ext.isString(el)).to.be.ok(); }, expectDisabled: function(cmp) { throwIfNotFound(cmp); return expect(cmp.isDisabled()).to.be(true); }, expectEnabled: function(cmp) { throwIfNotFound(cmp); return expect(cmp.isDisabled()).to.be(false); }, expectInvisibleBodyOf: function(cmp) { throwIfNotFound(cmp); return expect(cmp.body.isVisible()).to.be(false); } }; })()); }).call(this); :ET