Setting 'atCheckWaiting' to TRUE forces 'at' verification of 'unexpectedPages' #267

geb-bot opened this Issue Nov 4, 2013 · 4 comments


None yet

2 participants

geb-bot commented Nov 4, 2013

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.

geb-bot commented Nov 4, 2013

This issue is duplicated by #290

geb-bot commented Nov 12, 2013

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.

geb-bot commented Dec 5, 2013

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

geb-bot commented Dec 15, 2013


@geb-bot geb-bot added the Bug label Apr 12, 2015
@erdi erdi was assigned by geb-bot Apr 12, 2015
@geb-bot geb-bot closed this Apr 12, 2015
@erdi erdi added the Duplicate label Jul 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment