I'm trying to use presets for waitFor etc.
In my GebConfig i ave this
>
> waiting {
> presets = {
> slow { timeout = 15 }
> quick { timeout = 1 }
> }
> timeout = 7
> retryInterval = 0.5
> }
>
>
In my Spec I use this to tests the config:
> waitFor("quick") { false }
>
>
Yes, this will always wayt the entire time and then fail.
But: it wait for 7 instead of 1 second in effect ignoring my preset.
What am I missing? Probably something obvious but i can't seem to figure it
out :-)
The rest of the config is read (like driver, baseUrl etc).
Thanks in advance
marko
--
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/53e7d78e-ad0e-452b-8196-76d03b30aefd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.