Open EdZilla opened 10 years ago
Right. I think it's a mistake that allPosts
is a class rather than an ID, since the AJAX tags only work with IDs. @glenasmith what do you think? Should it be an ID or a class? I lean towards to the former.
my $.02 (or is that 'my 2 pence'?)... I tend to prefer using id, and make it a requirement in my group since, as you point out, AJAX tags work only with ID. ...and because it makes developing geb tests faster and easier. ;) Thanks for adding a good section on geb testing, btw.
Looking forward to completion to your MEAP (no pressure). I've already recommended it to some colleagues who want to learn grails.
Happy New Year guys!!
The timeline.gsp file specifies a class but the geb test in TimelinePage.groovy is looking for a div id, instead of a class reference.
In TimelinePage.groovy at closure should have $("div.allPosts") instead of $("#allPosts")