n1k0/casperjs — pull request #240 by donovanh (2012-09-23 16:14:30+00:00)
Title: Assertion: assertVisible() helper method

Apologies if I'm approaching this wrongly, but I've found myself writing a lot of *if (this.visible(x)) else* statements when writing tests, and thought it would be helpful to have a specific "assertVisible" method.

I've added the method to the tester.js module. I wasn't sure if it needed a specific test written as it's essentially just returns the result of casper.visible().

Thanks,

Donovan