June 2011
1 post
2 tags
Geb Modules and isDisplayed()
A question recently came up on the Geb user mailing list about checking to see if a module is displayed on a page. It turns out the concept of displayed could do with some exploration. Say we have the following html… <p class="a" style="display:none"/> <p class="b"/> The following assertions will pass… def a = $("p.a") def b = $("p.b") def c = $("p.c") assert a &&...
Jun 15th
3 notes