Get help with testing, discuss unit testing strategies etc.


Post by mats »

Tip, use:
         var planningChannel = t.cq1("bcKeyValueCombo[name=planningChannel]"),
Instead of
         var planningChannel = t.global.Ext.ComponentQuery.query("bcKeyValueCombo[name=planningChannel]")[0],

Post by nickolay »

This is more like a general JavaScript question, sorry, we can't provide much support. But when you do "return x = true" the control flow exits the function and "next()" is never called. I assume you have "x" declared outside of the "chain", otherwise it may create undefined global.

Post by divyasharma »

Ok, I thought there's some problem with t.chain. cq1 instead of componentQuery.query is not working, the variable is undefined

Post Reply