I know, I'm not waiting for result of submitting the form. How would
I change or add to
saveButton.click();
that submits the form, that would wait for the
FormPanel.SubmitCompleteEvent? Thanks, - Dave
On Dec 1, 2:54 am, Thomas Broyer <t.bro...@gmail.com> wrote:
> You can't. Or rather, you only have access to the response page's body, so
> if you can identify a 404 from that, you're done.
>
> BTW, your test actually isn't even seeing the 404, because you finishTest()
> just after you saveButton.click(), so the form is submitted (actually
> probably just after the code yields to the browser, so *after* the
> finishTest()) but you don't wait for the FormPanel.SubmitCompleteEvent; so
> it's expected that your test pass.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment