Originally created by Sumanas Sarma.
I have 2 error pages as Error404Page and Error500Page. In GebConfig.groovy I have set atCheckWaiting = true and unexpectedPages = [Error404Page, Error500Page].
atCheckWaiting = true
unexpectedPages = [Error404Page, Error500Page]
This results in Geb doing an 'at' check for the 404 error page on every page that is loaded by the test. If this loaded page is not a 404 (it's a legit page), then I get a geb.waiting.WaitTimeoutException: condition did not pass in 21.0 seconds (failed with exception)
geb.waiting.WaitTimeoutException: condition did not pass in 21.0 seconds (failed with exception)
Removing the atCheckWaiting = true fixes this issue.
This issue is duplicated by #290
Originally posted by Luke Daley.
Thanks for the report, we'll look into it.
I guess we should not wait when testing for unexpected pages.
Originally posted by Craig Atkinson.
I submitted a pull request to not wait in the at-checker when testing for unexpected pages geb/geb#55