app/assets/javascripts/netzke/testing/helpers/expectations.js.coffee in netzke-testing-0.12.1 vs app/assets/javascripts/netzke/testing/helpers/expectations.js.coffee in netzke-testing-0.12.2
- old
+ new
@@ -8,8 +8,12 @@
expectDisabled: (cmp) ->
throw cmp + " not found" if Ext.isString(cmp)
expect(cmp.isDisabled()).to.be(true)
+ expectEnabled: (cmp) ->
+ throw cmp + " not found" if Ext.isString(cmp)
+ expect(cmp.isDisabled()).to.be(false)
+
expectInvisibleBodyOf: (cmp) ->
throw cmp + " not found" if Ext.isString(cmp)
expect(cmp.body.isVisible()).to.be false