[geb-user] How to do wait until some text appears in Geb?

2018-01-31 Thread
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".

[geb-user] Re: How to do wait until some text appears in Geb?

2018-01-31 Thread
Thanks Roman. I see why I'm wrong. Now it's working! On Wednesday, January 31, 2018 at 7:59:36 PM UTC+8, Roman Tretyak wrote: > > waitFor {form.id.getAttribute("value") == "abcd"} > Note where I close the bracket. > > -Roman > > среда, 31 янв

[geb-user] How to set baseURL when launching an electron app?

2018-02-04 Thread
I have an electron app which will access website B at startup. I could do config in GebConfig.groovy to launch the electron app as below. Then after Geb running, it will launch the app first, and seems to re-direct to baseURL soon because the page will refresh soon when it starts up (currently