Get help with testing, discuss unit testing strategies etc.


Post by jflowers45 »

Is it possible to pass a description to t.click()?
t.chain(
 { click : "#mainMenu-splitter => .x-collapse-el", desc: "This shows up" },
 
function(next) {
                t.click(">>#mainMenu-placeholder tool[type=expand-right]", next, null, {desc:"this doesn't show", description: "this doesn't show either"});
 }

);
I realize I could use t.pass before/after/in the callback, just wondering if it's possible right inside the click call - i thought maybe via the options object.

Thanks!

Post by nickolay »

No, thats not possible, "click" does not output anything.

Post by jflowers45 »

ok cool, thanks!

Post Reply