If you put the breakpoint at the "at MyPage" line then the page reference
has not yet been switched to an instance of MyPage and that's probably why
you're getting a MissingPropertyExpression when trying to evaluate
"otherInsuranceAmount". I would suggest putting the breakpoint after that
line or trying to evaluate "at(MyPage).otherInsuranceAmount".

On Tue, Dec 8, 2020 at 3:16 PM Ben Frey <[email protected]> wrote:

> I have an element on a page that's defined like this:
> otherInsuranceAmount { $('[id$=otheramount]') }
>
> When I debug my test and put a breakpoint at the "at MyPage" line, I get a
> MissingPropertyException when I try to inspect otherInsuranceAmount via the
> debugger. However, the expression $('[id$=otheramount]') resolves just
> fine. What could cause this to happen, and how do I fix it?
>
> --
> 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/41b1a9f1-b402-485f-9f97-da5e7463cbfcn%40googlegroups.com
> <https://groups.google.com/d/msgid/geb-user/41b1a9f1-b402-485f-9f97-da5e7463cbfcn%40googlegroups.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/CA%2B52dQRO7DK8w%2BsPpo2vpAV9AB6x%3DvRbsPVrm6DK9tKgWDV-fA%40mail.gmail.com.

Reply via email to