Question regarding IDEA support for Geb(Reporting)Spec

Skip to first unread message

Nov 19, 2018, 8:06:57 AM11/19/18
to Geb Development Mailing List
In the Book of Geb it says that IntelliJ had "special support" when writing tests.

However I still find myself in the need to declare

MainPage mainPage = at MainPage
mainPage.with {
if (isTourStartDialogDisplayed()) {

i.e. assign to MainPage and use Groovy's with 

in order to get content assist for the content of MainPage...
Am I doing it right?
Using 2018.02 Community Edition of IntelliJ ...

Best Regards,

Marcin Erdmann

Nov 19, 2018, 8:37:14 AM11/19/18
Hi Thomas,

I'm not 100% sure if enhanced Geb support is included in the Community Edition. I'm sure that it is included in the Ultimate Edition and I would definitely get content assist if I wrote the code like this:

def mainPage = at MainPage
if (mainPage.tourStartDialogDisplayed) {


P.s. Your question seems to be use related and not development related so I'd suggest posting similar questions in the future to the user mailing list at!forum/geb-user.

You received this message because you are subscribed to the Google Groups "Geb Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit
Reply all
Reply to author
0 new messages