- await
Start building a named await statement. This is useful is cases when you have
several awaits in your
- waitAtMost
An alternative to using #await() if you want to specify a timeout directly.
- given
Start constructing an await statement given some settings. E.g.
given().pollInterval(20, MILLISECON
- setDefaultPollInterval
Sets the default poll interval that all await statements will use.
- with
Start constructing an await statement with some settings. E.g.
with().pollInterval(20, MILLISECONDS
- setDefaultTimeout
Sets the default timeout that all await statements will use.
- catchUncaughtExceptions
Catching uncaught exceptions in other threads. This will make the await
statement fail even if excep
- dontCatchUncaughtExceptions
Don't catch uncaught exceptions in other threads. This will not make the await
statement fail if exc
- fieldIn
Await until an instance field matches something. E.g.
await().until(fieldIn(service).ofType(int.cla
- ignoreExceptionsByDefault
Instruct Awaitility to ignore caught or uncaught exceptions during condition
evaluation. Exceptions
- ignoreExceptionsByDefaultMatching
Instruct Awaitility to ignore caught exceptions matching the supplied matcher
during condition eval
- reset
Reset the timeout, poll interval, poll delay, uncaught exception handling to
their default values: