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.