My suggestion would be to provide an MCVE. Thank you. :-)
--
Alexander Kriegisch
https://scrum-master.de
Klaus L. schrieb am 14.05.2019 16:50:
--Hi all,--I am using Geb in connection with Cucumber in a Maven project.(Groovy 2.4.15, Cucumber (cucumber-groovy + cucumber-junit) 4.2.0, JUnit 4.12, and some other libraries.When upgrading my Geb dependency from 2.2 to 2.3.1, this exception occurs apparently on each page object navigation (using Browser.to()):groovy.lang.MissingPropertyException: Unable to resolve atChecker as content for automation.pages.<GEB_PAGE_OBJECT>, or as a property on its Navigator context. Is atChecker a class you forgot to import?
at geb.content.PageContentSupport.propertyMissing(PageContentSupport.groovy:47)
at geb.content.PageContentSupport$propertyMissing.call(Unknown Source)
at geb.Page.propertyMissing(Page.groovy:112)
at geb.Page.getShouldVerifyAtImplicitly(Page.groovy:477)
at geb.Browser.to(Browser.groovy:560)
at geb.Browser$to$4.callCurrent(Unknown Source)
at geb.Browser$to$4.callCurrent(Unknown Source)
at geb.Browser.to(Browser.groovy:537)
at geb.Browser$to$3.callCurrent(Unknown Source)
at geb.Browser.to(Browser.groovy:526)
at geb.Browser.to(Browser.groovy)
at geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:106)
at automation.UITSteps$_run_closure114.doCall(UITSteps.groovy:934)
at ✽.<CUCUMBER_STEP_NAME>(src/test/resources/features/UAT/Smoketest/Smoketest_UIT.feature:20)
Althoughprivate Closure getAtChecker() { getClass().at }is defined in geb.Page just some lines below getShouldVerifyAtImplicitly(), the runtime does not seem to find it.Have you seen this behaviour before, or what would you suggest?
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 post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/9596bbfc-4e4b-4859-a060-3fceb039b4ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/20190515004122.4166544C04FF%40dd39516.kasserver.com.
For more options, visit https://groups.google.com/d/optout.
