interface WaitingSupport
Type Params | Return Type | Name and description |
---|---|---|
<T> |
abstract T |
waitFor(String waitPreset, Closure<T> block) Uses the wait preset from the configuration
with the given name to to wait for block to return a true value according to the Groovy Truth. |
<T> |
abstract T |
waitFor(Map params, String waitPreset, Closure<T> block) |
<T> |
abstract T |
waitFor(Closure<T> block) Uses the default wait from the configuration to
wait for block to return a true value according to the Groovy Truth. |
<T> |
abstract T |
waitFor(Map params, Closure<T> block) |
<T> |
abstract T |
waitFor(Number timeout, Closure<T> block) Invokes block every Configuration.getDefaultWaitRetryInterval seconds, until it returns
a true value according to the Groovy Truth, waiting at most timeout seconds. |
<T> |
abstract T |
waitFor(Map params, Number timeout, Closure<T> block) |
<T> |
abstract T |
waitFor(Number timeout, Number interval, Closure<T> block) Invokes block every interval seconds, until it returns
a true value according to the Groovy Truth, waiting at most timeout seconds. |
<T> |
abstract T |
waitFor(Map params, Number timeout, Number interval, Closure<T> block) |
Uses the wait preset from the configuration
with the given name to to wait for block
to return a true value according to the Groovy Truth.
waitPreset
- the name of the wait preset in configuration
to useblock
- what is to be waited on to return a true-ish valueblock
Uses the default wait from the configuration
to
wait for block
to return a true value according to the Groovy Truth.
block
- what is to be waited on to return a true-ish valueblock
Invokes block
every Configuration.getDefaultWaitRetryInterval seconds, until it returns
a true value according to the Groovy Truth, waiting at most timeout
seconds.
timeout
- the number of seconds to wait for block to return (roughly)block
- what is to be waited on to return a true-ish valueblock
Invokes block
every interval
seconds, until it returns
a true value according to the Groovy Truth, waiting at most timeout
seconds.
interval
- the number of seconds to wait between invoking block
timeout
- the number of seconds to wait for block to return (roughly)block
- what is to be waited on to return a true-ish valueblock
Groovy API Documentation for Geb 6.0 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org