testUISleepUntil function
Test UI sleep until ready
. Returns bool
if ready
.
timeoutMs
is the sleep timeout is ms.intervalMs
is the interval to check if it'sready
.minMs
is the minimal sleep time in ms.readyTitle
is the ready message to show in the log:** Test UI Sleep Until $readyTitle
Implementation
Future<bool> testUISleepUntil(FutureOr<bool> Function() ready,
{String readyTitle = 'ready',
int? timeoutMs,
int? intervalMs,
int? minMs}) =>
_chainCapture(() =>
_testUISleepUntilImpl(ready, readyTitle, timeoutMs, intervalMs, minMs));