From 3be48f34f2f0ad7b03d21b39ae4e56d736193f6b Mon Sep 17 00:00:00 2001 From: Wyte Krongapiradee Date: Fri, 12 Jun 2020 00:30:02 +0800 Subject: [PATCH] [Flutter Driver] Update the comments regarding the default timeout of WaitFor and WaitForAbsent commands (#58771) --- packages/flutter_driver/lib/src/common/find.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter_driver/lib/src/common/find.dart b/packages/flutter_driver/lib/src/common/find.dart index 1e1ba2b2b1..338fd7c128 100644 --- a/packages/flutter_driver/lib/src/common/find.dart +++ b/packages/flutter_driver/lib/src/common/find.dart @@ -53,7 +53,7 @@ class WaitFor extends CommandWithTarget { /// Creates a command that waits for the widget identified by [finder] to /// appear within the [timeout] amount of time. /// - /// If [timeout] is not specified the command times out after 5 seconds. + /// If [timeout] is not specified, the command defaults to no timeout. WaitFor(SerializableFinder finder, {Duration timeout}) : super(finder, timeout: timeout); @@ -83,7 +83,7 @@ class WaitForAbsent extends CommandWithTarget { /// Creates a command that waits for the widget identified by [finder] to /// disappear within the [timeout] amount of time. /// - /// If [timeout] is not specified the command times out after 5 seconds. + /// If [timeout] is not specified, the command defaults to no timeout. WaitForAbsent(SerializableFinder finder, {Duration timeout}) : super(finder, timeout: timeout);