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].
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)
Removing the atCheckWaiting = true fixes this issue.
Originally created by Sumanas Sarma.
I have 2 error pages as
Error404PageandError500Page. InGebConfig.groovyI have setatCheckWaiting = trueandunexpectedPages = [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)Removing the
atCheckWaiting = truefixes this issue.