Fixed large amount of spelling errors (#83744)
This commit is contained in:
@@ -83,9 +83,9 @@ class WaitForAbsent extends CommandWithTarget {
|
||||
/// A Flutter Driver command that waits until [finder] can be tapped.
|
||||
class WaitForTappable extends CommandWithTarget {
|
||||
/// Creates a command that waits for the widget identified by [finder] to
|
||||
/// be tappable within the [timeout] amiount of time.
|
||||
/// be tappable within the [timeout] amount of time.
|
||||
///
|
||||
/// If [timeout] is not specified, the command defuts to no timeout.
|
||||
/// If [timeout] is not specified, the command defaults to no timeout.
|
||||
WaitForTappable(SerializableFinder finder, {Duration? timeout})
|
||||
: super(finder, timeout: timeout);
|
||||
|
||||
|
||||
@@ -101,7 +101,7 @@ class VMServiceFlutterDriver extends FlutterDriver {
|
||||
future: _waitForRootIsolate(),
|
||||
timeout: kUnusuallyLongTimeout,
|
||||
message: isolateNumber == null
|
||||
? 'The root isolate is taking an unuusally long time to start.'
|
||||
? 'The root isolate is taking an unusually long time to start.'
|
||||
: 'Isolate $isolateNumber is taking an unusually long time to start.',
|
||||
))!;
|
||||
_log('Isolate found with number: ${isolateRef.number}');
|
||||
|
||||
@@ -258,7 +258,7 @@ void main() {
|
||||
});
|
||||
|
||||
testWidgets(
|
||||
"waiting for NoPendingPlatformMessages returns immediately when there're no platform messages", (WidgetTester tester) async {
|
||||
'waiting for NoPendingPlatformMessages returns immediately when there are no platform messages', (WidgetTester tester) async {
|
||||
driverExtension
|
||||
.call(const WaitForCondition(NoPendingPlatformMessages()).serialize())
|
||||
.then<void>(expectAsync1((Map<String, dynamic> r) {
|
||||
|
||||
@@ -154,7 +154,7 @@ void main() {
|
||||
});
|
||||
expect(log, <String>[
|
||||
'VMServiceFlutterDriver: Connecting to Flutter application at ',
|
||||
'VMServiceFlutterDriver: The root isolate is taking an unuusally long time to start.',
|
||||
'VMServiceFlutterDriver: The root isolate is taking an unusually long time to start.',
|
||||
]);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user