On Wed, Aug 10, 2016 at 3:09 PM, Marcin Erdmann <[email protected]> wrote: > > Are you using some js framework intended for building single > page apps like Angular, Ember or React? If that is the case then you will > have to add an waitFor() call which will enable you to wait for the page > state to stabilise before moving on with performing your assertion. >
Thanks for the suggestion Marcin. We ARE using Angular. I added a waitFor, and this changed the error message slightly, but it still doesn't behave as I'd hoped (it merely reports that the actual date is null, vs. showing the value of the actual date. Here's the output below: Condition not satisfied: labRequest[0].dateField == requestDate | | | | | | | | | 2016-03-02T00:00 | | | false | | geb.content.SimplePageContent@6add684e (renderer threw StaleElementReferenceException) | ......LabAnalysisRequestRow@274eff2c (renderer threw StaleElementReferenceException) java.util.ArrayList@1e76c657 (renderer threw GroovyRuntimeException) Do you have any other suggestions? Should I report this on the geb developer's mailing list and/or enter it as a defect? -- 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/CAMvxi91C0Q-8JLOfqTfvsvibaKOF9gekyVy-%3Dy7wDZPPCg63yA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
