No worries, I'm glad you figured it out on your own. :)
On Tue, 29 Aug 2017 at 14:45, 'Marko Pareigis' via Geb User Mailing List <
[email protected]> wrote:
> OMG how embarrasing .... 'presets = {' was the only problem I had ... why
> did I put the '=' in there ;-)
>
> 2017-08-29 14:00 GMT+02:00 'Marko Pareigis' via Geb User Mailing List <
> [email protected]>:
>
>> 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 a topic in the
>> Google Groups "Geb User Mailing List" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/geb-user/vJ9JtJePtZQ/unsubscribe.
>> To unsubscribe from this group and all its topics, 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
>> <https://groups.google.com/d/msgid/geb-user/53e7d78e-ad0e-452b-8196-76d03b30aefd%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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/CA%2BD9AYVKZp3V_u%3DFdrjk5UgiM3j3wUeZ08d-awScHhJNfktdZw%40mail.gmail.com
> <https://groups.google.com/d/msgid/geb-user/CA%2BD9AYVKZp3V_u%3DFdrjk5UgiM3j3wUeZ08d-awScHhJNfktdZw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
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/CA%2B52dQSGmSTf2rY3CW0wgstmSMeWqaKG8RaDtoWtyF3ZTBKZ3Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.