I have my configuration set up with
atCheckWaiting = true
waiting {
timeout = 15
retryInterval = 0.5
}
which works fine for most pages, but one at least is a long transition. I tried setting that page's at checker like this:
static at = {
waitFor(30) {
$('.step5active').displayed
}
}
which cause an interesting stack trace:
condition did not pass in 15 seconds (failed with exception)
geb.waiting.WaitTimeoutException: condition did not pass in 15 seconds (failed with exception)
.
.
.
Caused by: geb.waiting.WaitTimeoutException: condition did not pass in 30 seconds (failed with exception)
So I don't know which amount of time the page failed for. Should my setup work as I expect it to?