Hi there
I'm new to Geb. Currently I have a webpage having a input box and a button.
The test scenario will be inputting something, such as "a..d" in the input
box and then click the button.
Then the request will be sent and for sometime later, the text in the input
box will change to "abcd". Consider the input box is always visible so it
seems that waitFor does not work -
waitFor always returns false for "abcd" with waitFor {form.id.getAttribute(
"value")} == "abcd". I don't want to add sleep(1000) so just want to know
if there's anything else good for me use. Thanks!
In capybara I used before, it will automatically wait for the text to be
appeared within timeout interval.
--
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/880c3fe8-45f5-44c4-aa44-7f3a1391f094%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.