Hi Marcin, Here's the stack thrown without the toWait defined using Geb 3.3. I don't see the WaitTimeoutException. This at-check passes if I add the toWait.
At checker page verification failed for page net.kapsch.roms.qa.ui.page.ServiceIssues geb.error.UnexpectedPageException: At checker page verification failed for page net.kapsch.roms.qa.ui.page.ServiceIssues at geb.navigator.DefaultNavigator.click(DefaultNavigator.groovy:705) at geb.navigator.DefaultNavigator.click(DefaultNavigator.groovy:682) at geb.Module.click(Module.groovy:186) at geb.content.TemplateDerivedPageContent.click(TemplateDerivedPageContent.groovy:83) at net.kapsch.roms.qa.ui.spec.home.HomeSpec.should be able to open the service issues tab(HomeSpec.groovy:24) Caused by: geb.error.RequiredPageContentNotPresent: The required page content 'net.kapsch.roms.qa.ui.page.ServiceIssues -> toolbar: net.kapsch.roms.qa.ui.module.service_issues.Toolbar' is not present at geb.content.TemplateDerivedPageContent.require(TemplateDerivedPageContent.groovy:64) at geb.content.PageContentTemplate.create_closure1(PageContentTemplate.groovy:63) at geb.content.PageContentTemplate.create_closure1(PageContentTemplate.groovy) at geb.content.PageContentTemplate.create(PageContentTemplate.groovy:87) at geb.content.PageContentTemplate.get(PageContentTemplate.groovy:54) at geb.content.DefaultPageContentSupport.getContent(DefaultPageContentSupport.groovy:42) at geb.content.PageContentSupport.propertyMissing(PageContentSupport.groovy:41) at geb.Page.propertyMissing(Page.groovy:110) at groovy.lang.Closure.getPropertyTryThese(Closure.java:313) at groovy.lang.Closure.getPropertyDelegateFirst(Closure.java:303) at groovy.lang.Closure.getProperty(Closure.java:288) at net.kapsch.roms.qa.ui.page.ServiceIssues._clinit__closure1(ServiceIssues.groovy:15) at net.kapsch.roms.qa.ui.page.ServiceIssues._clinit__closure1(ServiceIssues.groovy) at geb.waiting.PotentiallyWaitingExecutor.execute(PotentiallyWaitingExecutor.groovy:30) at geb.Page.verifyThisPageAtOnly(Page.groovy:420) at geb.Page.getAtVerificationResult(Page.groovy:213) at geb.Page.verifyAt(Page.groovy:184) at geb.Browser.methodMissing(Browser.groovy:254) at geb.navigator.DefaultNavigator.click_closure46(DefaultNavigator.groovy:694) at geb.navigator.DefaultNavigator.click_closure46(DefaultNavigator.groovy) at geb.waiting.PotentiallyWaitingExecutor.execute(PotentiallyWaitingExecutor.groovy:30) at geb.navigator.DefaultNavigator.click(DefaultNavigator.groovy:694) ... 4 more Thanks, Trey On Thu, Apr 2, 2020 at 1:40 AM Marcin Erdmann <[email protected]> wrote: > Hi Trey, > > What makes you believe that the value for atCheckWaiting of a page is > ignored when using it as an argument for to: configuration option of a > content template? Are you seeing at check failures that do not > contain WaitTimeoutException in the stacktrace? From what I can see in the > code atCheckWaiting setting for a page will not be ignored in that case > which makes me wonder why you believe it is. > > Marcin > > On Thu, Apr 2, 2020 at 2:09 AM Trey Turner <[email protected]> wrote: > >> Hi there, >> I had assumed that a content element declared with a (to:PageName) >> parameter would use the target page's (or default) atCheckWaiting value, >> but it seems I must also specify the toWait in each case. Is there any way >> to specify a global toWait? The need for this is pervasive in my complex >> SPA. >> >> Thanks, >> Trey >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Geb User Mailing List" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/geb-user/c863c7b9-70d3-4f4e-bd57-14cfe2d2a4b8%40googlegroups.com >> <https://groups.google.com/d/msgid/geb-user/c863c7b9-70d3-4f4e-bd57-14cfe2d2a4b8%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Geb User Mailing List" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/geb-user/W22zGGhLzxM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/geb-user/CA%2B52dQTtXDZmjinP2rDokeC-7n0VSyO8KX1tit4j4Ng5drxBdQ%40mail.gmail.com > <https://groups.google.com/d/msgid/geb-user/CA%2B52dQTtXDZmjinP2rDokeC-7n0VSyO8KX1tit4j4Ng5drxBdQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/CAErttkX3p6gYVM10eWabzGG7b%2BQ0Y2Y9FPV1tKGqn7GegvMxrQ%40mail.gmail.com.
