| Index: ios/testing/earl_grey/wait_util.h
|
| diff --git a/ios/testing/earl_grey/wait_util.h b/ios/testing/earl_grey/wait_util.h
|
| index 08e8624bbfc0178a47e81207ba65baa952cfc48c..1a8db47ecde733890a2592e6184b57e286e46cc9 100644
|
| --- a/ios/testing/earl_grey/wait_util.h
|
| +++ b/ios/testing/earl_grey/wait_util.h
|
| @@ -17,6 +17,10 @@ extern const NSTimeInterval kWaitForUIElementTimeout;
|
|
|
| // Constant for timeout in seconds while waiting for JavaScript completion.
|
| extern const NSTimeInterval kWaitForJSCompletionTimeout;
|
| -}
|
| +
|
| +// Waits until |condition| is true, or induces GREYAssert after |timeout|.
|
| +void WaitUntilCondition(NSTimeInterval timeout, bool (^condition)(void));
|
| +
|
| +} // namespace testing
|
|
|
| #endif // IOS_TESTING_EARL_GREY_WAIT_UTIL_H_
|
|
|