groovy.lang.GroovyRuntimeException: Could not find matching constructor for: geb.waiting.Wait(Integer, BigDecimal, Boolean)

300 views
Skip to first unread message

Sanjay Reddy

unread,
Feb 17, 2022, 8:14:39 PM2/17/22
to Geb User Mailing List
Hi,

Greetings!!

Getting this exception when I am trying to debug geb specification in intelliJ.
 But working fine with gradle clean test command

groovy.lang.GroovyRuntimeException: Could not find matching constructor for: geb.waiting.Wait(Integer, BigDecimal, Boolean)

This is waiting block from my GebConfig.groovy:
waiting{
timeout = 2
retryInterval = 0.5
includeCauseInMessage = true
preset{
slow{
timeout = 20
retryInterval = 1
}
verySlow{ timeout = 50}
}
}


This is from Page class: Getting error at below highlighted line.
static content = {
//<navigatorName><options map><actual navigator>
browserAutomationSection(wait: true){ $("h3#the-browser-automation-technology") }
pageObjectPatternSection(wait: true){ $("h3#the-page-object-pattern") }
}

Please help me resolving this issue.

Thanks,
Sanjay
Reply all
Reply to author
Forward
0 new messages