waiting {
presets = {
slow { timeout = 15 }
quick { timeout = 1 }
}
timeout = 7
retryInterval = 0.5
}
waitFor("quick") { false }
--
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 geb-user+unsubscribe@googlegroups.com.
To post to this group, send email to geb-...@googlegroups.com.
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.
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 <geb-...@googlegroups.com>: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 advancemarko
--
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 geb-user+u...@googlegroups.com.
To post to this group, send email to geb-...@googlegroups.com.
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.
--
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 geb-user+u...@googlegroups.com.
To post to this group, send email to geb-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/CA%2BD9AYVKZp3V_u%3DFdrjk5UgiM3j3wUeZ08d-awScHhJNfktdZw%40mail.gmail.com.